After upgrading from 14.6 to 15.x. RSOD when viewing incidents with specific role where attachment is selected but not the body
When viewing incidents RSOD is presented with the following message:
An unexpected error has occurred. This could be due to one of the following: 1) Your session timed out and you selected a link that was no longer valid, 2) You used the browser back or forward button placing the system into an inconsistent state, or 3) The system experienced a temporary problem.
tomcat logs shows:
11 Sep 2019 17:34:00,417- Thread: 107 SEVERE [com.vontu.manager] [/EndpointIncidentDetail]
Cause:
java.lang.UnsupportedOperationException: No access to messageComponentID. Check isAuthorizedColumn() first.java.lang.UnsupportedOperationException: No access to messageComponentID. Check isAuthorizedColumn() first.
at com.vontu.condition.sql.query.Row.getColumnValue(Row.java:303)
at com.vontu.condition.sql.query.Row.getLong(Row.java:164)
at com.vontu.manager.report.snapshot.Attachment.makeAttachmentList(Attachment.java:70)
at com.vontu.manager.report.snapshot.IncidentDetail.<init>(IncidentDetail.java:117)
at com.vontu.manager.report.snapshot.IncidentDetailFactory.createIncidentDetail(IncidentDetailFactory.java:52)
at com.vontu.manager.report.snapshot.IncidentDetailPage.getIncidentSnapshot(IncidentDetailPage.java:469)
at com.vontu.manager.report.snapshot.IncidentDetailPage.prepareForDisplay(IncidentDetailPage.java:180)
Before DLP version 15.x there was a possibility to create a role with the attachment checked without the body. In new version, attachments must be marked along with body.
Data Loss Prevention (DLP) Enforce, based on Windows and Linux
In Enforce console check each role and see if there is any role marked only attachment.
System > Login Management > Roles > Configure Role > click on attachments and the BODY will be select automatically