Service Portal: On submitting form on error in mandatory form field, the form loads indefinitely due to a loop caused by asynchronous field validation scripts.
Steps to Reproduce
- Login as admin user
- Create a new field with XML field type. Check the Mandatory field in the Dictionary entry.
- In Service Portal, create a new record in the table with the new XML field.
- Enter the following invalid XML script in the new XML field.
- Click Save.
- Notice the error below the XML field.
Form loads indefinitely (can be observed on the network tab), not allowing user to perform any other actions on the form.
Deactivate Validation Scripts (sys_script_validator) where UI Type is "Mobile / Service Portal"
Related Problem: PRB1293557