RE: Provide an extension mechanism for folder actions in the Documents and Media portletHello Fellow Marketplace Developers,
I require a supported extension mechanism for folder actions in the Documents Media portlet.
I have 2 applications already published to the Marketplace :
1/ Documents and Media Downloader
https://www.liferay.com/marketplace/-/mp/application/21674918
2/ Documents and Media Info Viewer
https://www.liferay.com/marketplace/-/mp/application/23178968
The applications (hook plugins) use a custom folder action JSP which over-rides the default folder action JSP at path “html/portlet/document_library/folder_action.jsp“.
The Liferay Portal patching tool (version 15) is now reporting “collisions” between the custom folder_action.jsp file used by the Documents and Media Downloader and Documents and Media Info Viewer applications, the LP 6.2 Notifications portlet, LP 6.2 EE patch “wcm-core-14” and LP 6.2 EE patch “document-management-9”.
1
2$ ./patching-tool.sh list-collisions
3Listing collisions (file, plugin, patch):
4 html/portlet/document_library/folder_action.jsp, Documents and Media Folder Downloader Hook, document-management-9
5 html/portlet/document_library/folder_action.jsp, Documents and Media Folder Info Viewer Hook, document-management-9
6 html/portlet/dockbar/view_user_account.jspf, Notifications EE Portlet, wcm-core-14
This “collision” means that end-users could deploy either of these applications, apply recent LP 6.2 EE patches and observe unexpected behaviour.
I have observed the Notifications portlet will sometimes fail due to a JSP error.
I submitted a request for a support extension mechanism in LPS ticket LPS-33757 on 18 March 2013 at
* Provide an extension mechanism for folder actions in the Documents and Media portlet.
https://issues.liferay.com/browse/LPS-33757
This LPS ticket is 15 months old and has not yet received any feedback from any Liferay Support staff.
I have also provided a sample solution for the folder action extension mechanism in GitHub project “sample-liferay-dm-action-menu-extension” at
* GitHub - Sample Liferay Documents and Media Action Menu Extension
https://github.com/permeance/sample-liferay-dm-action-menu-extension
Is anybody available within the Liferay Marketplace community to review LPS ticket LPS-33757 and raise the profile of this request ?
I suspect there are other Liferay Marketplace applications that may require a supported extension mechanism for folder actions in the Documents Media portlet.
Until LPS ticket LPS-33757 is resolved, the folder action JSP issue will continue to be a problem for Liferay Marketplace developers and subscribers.
Feedback welcome.
Regards,
Tim
Please sign in to flag this as inappropriate.