Foren

JS Buttons not working: "TypeError: A.MediaViewerPlugin is undefined"

Ra Jo Ga Cha, geändert vor 7 Jahren.

JS Buttons not working: "TypeError: A.MediaViewerPlugin is undefined"

Junior Member Beiträge: 77 Beitrittsdatum: 19.01.17 Neueste Beiträge
As said in the subject, JavaScript floating buttons for adding portlets, preview, configure a portlet, etc are there but not working, making anything when I click them. JS console returns "TypeError: A.MediaViewerPlugin is undefined", but I'm uncapable to find any information about this error.

This is only reproducing in the document pages where I deploy the portlet I'm modifying: Multimedia Gallery. I'm upgrading the hook from 6.1 to 6.2, and the deploy was failing with this:
Current URL /tests generates exception:Can't compile class for JSP: __Error on line: 35 en el archivo jsp: /html/portlet/document_library/action/download.jspf_DLFileShortcutPermission cannot be resolved_32: ...


Adding DLFileShotcutPermission page import from ROOT document-library init.jsp to the first lines of download.jspf solved the deploy and most of the problems but then this happened.