When users have a user_name longer than 40 characters they cannot download lists exported to Excel. When attempting to download, they are taken to a blank sys_attachment page.

Error message:

Security restricted: Unable to read attachment sys_poll.45d8b8cf2b4202006c59ae6219da15d4 

You will identify the problem because:

  • The user_name's (on sys_created_by column) is truncated on the sys_poll table when over 40 characters
  • This is due to the size of the column in the database is VARCHAR(40)
  • Increasing the size of the username field is not recommended. If increasing the size, the affected users will remain affected as missing characters will not re-populate on the related tables.
  • The report downloads are blocked by a sys_poll table level read ACL

Steps to Reproduce

With a user with an username longer than 40 characters, attempt to export to Excel from a list view using the UI


Please note this is working as expected. There are no plans to modify the current restriction on the username length. The solution is to manually change the username to a value of 40 characters or less.

Alternatively, (not recommended) you can modify the read ACL for sys_poll:

Change the script from:

answer = (current.sys_created_by == gs.getUserName());


answer = (current.sys_created_by == gs.getUserName().substring(0,40));


Related Problem: PRB645055

Seen In

Eureka Patch 11
Eureka Patch 11 Hot Fix 2
Fuji Patch 10
Geneva Patch 5
Geneva Patch 6 Hot Fix 2
Geneva Patch 7
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-05-14 12:41:35