Error during the change of MaxValidDays for an AccProduct:
Steps to reproduce:
Create a request for a product with MaxValidDays=0.
For that request set a ValidFrom and ValidUntil (only the date, without a time).
Wait until the ValidUntil has been exceeded, which sets the request to Aborted.
After that change the MaxValidDays in the AccProduct to a value, that is smaller than the difference between ValidFrom and ValidUntil in the PersonWantsOrg.
Error message:
[1025012] Object (MaxValidDaysTest) could not be saved!
[810306] Error running 'OnSaved' in logic module 'VI.DB.Entities.EntityScriptLogic'.
[810306] Error running 'CheckValues' in logic module 'QER.Customizer.PersonWantsOrg'.
[2133126] Value 'Valid until' must be less than '02.01.2023 00:59:59'.
This is a product defect (648869).
WORKAROUND:
Change template for PersonWantsOrg.ValidUntil :
The field should no longer be changed for orders that have already been closed, so the following condition must be added:
If Not ( $OrderState$ = "Dismissed" Or $OrderState$ = "Aborted" Or $OrderState$ = "Unsubscribed") Then
... previous template code ...
End If
STATUS:
This will be fixed in a future release of the product. If you require this immediately corrected, please contact support for a hotfix referencing the defect ID 648869.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center