CSRF error while viewing document using File Document Viewer

0
Hello Team, I am trying to use IMAP_POP3_Email module. As part of this, I am listing all the attachment that are sent in a mail and view them. When I click on view attachment, I get an error as below. Error while applying context Error: PocMail.View_Attachment.dataView: Error while applying context Error: PocMail.View_Attachment.fileDocumentViewer: Error while applying context Error: PocMail.View_Attachment.fileDocumentViewer: Error while applying context TypeError: mx.session.getCSRFToken is not a function Error: : Error while applying context Error: PocMail.View_Attachment.dataView: Error while applying context Error: PocMail.View_Attachment.fileDocumentViewer: Error while applying context Error: PocMail.View_Attachment.fileDocumentViewer: Error while applying context TypeError: mx.session.getCSRFToken is not a function at http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:49494 at Object.e.exports.collect (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:20:27161) at Object.e.exports.applyContext (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:49393) at http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:49187 at o (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:20:26874) at Object.e.exports.sequence (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:20:26883) at Object.e.exports.fireOnReady (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:48377) at http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:49152 at Object.e.exports.collect (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:20:27161) at Object.e.exports.loadWidgetsIn (http://localhost:9080/mxclientsystem/mxui/mxui.js?636792064358323476:31:49035) Any idea how to resolve this. Or do I need to use any module to show/view attachments which could be txt, pdf, img etc.   Thanks Pavan
asked
1 answers
2

Did you update the filedocument viewer to the latest version?

answered