000039005 - UI stuck at loading screen in RSA Archer record page with script error: Unable to get property sectionId of undefined or null reference

Document created by RSA Customer Support Employee on Sep 1, 2020Last modified by RSA Customer Support Employee on Sep 1, 2020
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000039005
Applies ToRSA Product Set: RSA Archer
RSA Product/Service Type: RSA Archer
RSA Version/Condition: 6.x
 
IssueUI stuck at loading screen in RSA Archer record page with script error.
The loading screen appears to be in infinite loop on layout custom object(s).
User-added image
Within the Browser Developer tool will show the actual script error.
SCRIPT5007: Unable to get property 'sectionId' of undefined or null reference
User-added image
Cause
  • Script error is caused by custom layout objects java script codes referencing a field ID not present on the system.
ResolutionDebugging the script error
  1. Use Browser Developer Tool from IE (for example F12).
  2. Go to the UI to reproduce the error
  3. Take note of the layout objects (for example 47229, 47231 and so on) in the Debugger.

User-added imageUser-added image


  1. Go to Administration > Application Builder > Application
  2. Reviewing the application layout. The ODA contains two custom objects in the layout.

  • Hide Add New Related Controls
  • Remove Add New Button Custom Object

User-added image


User-added image
User-added image
Take note of these custom object code reference cross-reference field ID which does not exist in the system. These were found in the browser debugger tool.
User-added image


  1. Run SQL Query to check field_id, confirm that the field does not exists in instance database.

User-added image


Fix the script error.

  1. Locate the field_id for field “Related Controls”.

Go to Administration > Application Builder > Select Review application


Select Fields tab, hover the mouse cursor on-field “Related Controls”.


Notice the field_id is displayed at the bottom of the browser screen (for example 21257).



User-added image


  1. Go to Layouts section of Review application.
  2. Edit These two fields.

  • Hide Add New Related Controls
  • Remove Add New Button Custom Object

  1. Update the JavaScript in these two custom objects with the correct field_id identified from step 1 above (for example 21257).

User-added image


  1. Save the changes to these fields, then save the changes on the ODA application.
Workaround
  • Move the custom object(s) off layout.

Attachments

    Outcomes