Audit trail issue - Unexpected and incorrect behaviour

0
Hi Team,   When I am visiting the audit trail(implemented via Audit trail module Version 7.6.0) of one of my entity, I am getting error that “An error occurred, please contact administrator.”. This is not happening always, but whenever it occurs, this error just keeps coming time and time again. When I visited console to check the error, please find below message in the console : Did not expect an argument to be undefined Error: Did not expect an argument to be undefined     at i (http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:20:2798)     at http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:73:207081     at Array.map (<anonymous>)     at e.<anonymous> (http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:73:207041)     at http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:20:1732     at Object.next (http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:20:1837)     at a (http://localhost:8085/mxclientsystem/mxui/mxui.js?637574660066599120:20:605)   Please help as this is very urgent.   Thank you.
asked
1 answers
0

Hi, 

When working with an audit trail make sure you don't call an audit trail for an after delete event. Also, add error handling for the Java action which you use for creating the audit log and set the error handling to custom without rollback. This will help the users to work without getting errors on their screens. Also, check if you are committing the object inside a loop anywhere. 

Hope this helps!

answered