172 views

Symptoms


After clicking the Edit button on a related list and then navigating back to the form, instead of being presented with the form, a page displays containing only the related lists of the form, which appear in an unstyled manner. Instead of the form page (for example, incident.do), the related lists of the form appear (for example, list2_deferred_related_lists.do).

The following screenshots show an example.

Release


ALL

Cause


This issue occurs in the following scenario:

  • Related List Loading is set to either On-demand or After Form Loads.
  • One or more JavaScript errors have occurred on the form.
  • The user presses the Edit button.

Resolution


To ensure this behavior does not occur, as an administrator, you should review the browser console before clicking the Edit button on forms where this issue occurs and ensure that any JavaScript errors are corrected. JavaScript errors should never occur on forms, and they can cause many other issues apart from the one described.

Some of the places where customer-defined JavaScript could cause errors on a form are:

  • Client scripts
  • UI Policies (Execute if true/Execute if false)
  • UI Scripts
  • UI Macros placed on the form using a UI Formatter

For information about identifying the cause of JavaScript errors by using the Google Chrome browser's DevTools, see the Google Developers website.

Note – JavaScript errors in the browser console have sometimes been caused by known problems. If you believe the error you are seeing is related to a known problem, raise an incident in the HI Service Portal.

Additional Information


For more information about debugging client side errors check out this blog post.

Article Information

Last Updated:2018-07-29 21:59:43
Published:2018-07-27