TypeError: Cannot read properties of null (reading 'location')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2022 04:23 AM
After upgrading to rome the issue got created.
There is an excel link(download) in the catalog item.When the user clicks it an excel file gets downloaded but for few users when they click on it the content pane becomes empty as in the attached image
and the console throws error as in the attached image
.For few users it is working as expected.Really need help in troubleshooting this.Any help would be appreciated.
Thanks and Regards,
Vasu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 05:28 AM
Hi Vasu,
look if the code that executes on clicking the link is trying to fetch the location. which is not working. you need to replace the code. if you can paste the screenshot of code that could help in debug.
it could be a widget defined in the macro type variable.
Regards,
Shivambi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 05:46 AM
It is a link to an excel document to be downloaded in the catalog item.
<span style="font-family: verdana, geneva; font-size: 10pt;"><a title="Click Here" href="sys_attachment.do?sys_id=154ea776c337f0107593c43f4f4d123d" target="_blank" rel="noopener noreferrer nofollow">Click Here</a> - to access the excel form.</span></p>
The attachment download works for few people and for few people it doesnt and throws blank content pane as show.Can you please let me know if this helps?
Regards,
Vasu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 06:02 AM
could be a read access issue. can you check ACLs on sys_attachment table.