Description
In the base system, the onSubmit client script, Simultaneous Update Alert, is enabled. A Javascript error occurs when you attempt to submit a form that does not have an "onnLoad_sys_updated_on" element defined. This blocks the operation. An example is a form that is loaded by search modules (using the Search Screen link type), such as incident_search.do, which does not load an actual record.
The error is displayed as glide.ui.js_error_notify. For admins, the error message is { onSubmit script error: TypeError: Cannot read property 'value' of null }... with the client script then being displayed.
Non-admins receive this simple message: Submit canceled due to a script error - please contact your System Administrator.
This issue occurs in Fuji and later releases.
The error is displayed as glide.ui.js_error_notify. For admins, the error message is { onSubmit script error: TypeError: Cannot read property 'value' of null }... with the client script then being displayed.
Non-admins receive this simple message: Submit canceled due to a script error - please contact your System Administrator.
This issue occurs in Fuji and later releases.
Steps to Reproduce
- Log in to a Fuji or later instance.
- Ensure that the Simultaneous Update Alert client script is enabled (Active is checked).
(/sys_script_client.do?sys_id=8ec642040a0a3c7400dc20a338770cc3) - Load a search screen page (for example, /incident_search.do.)
- Populate one or more fields.
- Click the Search button.
Workaround
- Disable any client script starting with Simultaneous Update Alert.
- Import the attached workaround script, Simultaneous Update Alert - PRB631167.
- Enable the workaround script.
- Test a search screen.
Related Problem: PRB631167