A pasted document or Events content URL directly in the browser without login causes a blank page displayed without redirecting to the login page.
This is working fine for Question, Blog and Video content types.
Note: Content read permission is not given for public users
Steps to Reproduce
- Login to community and open Events or Documents content page URL.
- Logout and directly paste in browser and click enter.
- The user should be taken to login page/popup to enter the details, but a blank page is displayed.
Install the com.sn_communities plugin. [Ref.: Activate a plugin]
Go to <instance>.service-now.com/community. Observe the console errors and errors in the screen (PFA).
This problem was fixed in Kingston.
On earlier releases the workaround was to change the "if" condition on line 311 of the script include CommunityProfileImpl to: userObj.sys_id.
The check returns then "false" rather than breaking when trying to call a method on a nonexistent object.
Related Problem: PRB1082947