Feature(s) impacted
displaying of related data array
Observed behavior
when handling null values, system stuck
Expected behavior
displaying of related data array
Failure Logs
no error on forest log, browser console returns:
Uncaught TypeError: Cannot read properties of null (reading ‘length’)
Context
- Project name: WescoverContentAdmin
- Team name: Content Admin
- Environment name: Development | nimrodmaltz
- Agent type & version: “forest-express-mongoose”: “8.7.6”
- Recent changes made on your end if any: none
we have more than one system using the database and another system provides null when an array is empty and the browser console returns an error and the ui doesnt display anything on the related data section.
so basically if the array is empty, it should be by default: [ ]
thanks,
nimrod