In Angular WebPortal, error messages are not shown if a validation script's ViException affects a Multiline request property.
Dim username = Convert.ToString(Value)
If Not String.IsNullOrWhiteSpace(username) Then
If username.Length > 2 Then
Throw New ViException(#LD("'{0}' is over allowed max length.", username)#, ExceptionRelevance.EndUser)
End If
End If
-> in API server's losg the error is visible (expected and correct):
2025-06-13 13:43:28.3494 ERROR ( WebLog dhcc0smzaydhb1sqv2hx32ko) : An error occurred while processing the request: PUT https://example.com/APIServer/portal/cartitem/interactive System.Exception: An error occurred while processing the request: PUT https://example.com/APIServer/portal/cartitem/interactive ---> VI.Base.ViException: Error running script 'Valid_9c7c3770_a162_4099_9ba6_d16ce1216265'. ---> VI.Base.ViException: 'A12' is over allowed max length.
This behavior is due to a product defect when ViException
is thrown on a multiline property in a validation script
This is a known issue: Product Defect #496025.
If you encounter this problem, please contact Support and request Hotfix #496025.
Note: This hotfix is already included in the latest GitHub image (as of July 11th, 2025).
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center