Issue Details
When clicking the Features tab for a sensor in the Asset Tree, InsightCM displays an error and the application needs to reload.
The error shown is:
Uncaught TypeError: Cannot read properties of undefined (reading 'BaseType')
Solution/Procedure
This error occurs in the following functions (from the browser stack trace): getFeatDefLongName | refresh | refreshTab | refreshCurrentTab | tabChangeHandler.
This is a known issue in InsightCM 3.12.2 and 26.0.0.
Root cause: This happens when a custom Feature was created and assigned to a sensor, and the Feature was later deleted without first removing it from the subscribing sensor. This leaves the sensor referencing a Feature that no longer exists, which prevents the Features tab from loading in the asset configuration.
The workaround for this issue is explained in the following procedure:
- Recreate the Feature using the exact same name it had before it was deleted.
- Reload the Asset Tree and try opening the Features tab again to see if it now loads correctly.
- If the Features tab loads successfully, delete the Feature from the accelerometer to remove the orphaned reference permanently.
- If you don't remember the name of the deleted Feature, you can find it by checking the Assets.json file inside the Support Report.
Do you need more help?
Submit your questions or requests using the Support Ticket Submission form.