campfire-digital-services / liferay-dm-info-viewer

This project provides a Liferay Portal plugin to quickly view information about Document and Media folders (eg. total sub-folders and files, total file size). The view is similar to MS Windows File Explorer Properties and Apple Mac OS X Finder Info views.
https://www.permeance.com.au/liferay-documents-and-media-info-viewer
1 stars 3 forks source link

Liferay DM Info Viewer is not compatible with patch "Liferay Portal 6.1 EE GA2 Update 2012-09-18 Plugin Deployment-1" #2

Closed timtelcik closed 11 years ago

timtelcik commented 11 years ago

Liferay DM Info Viewer is not compatible with patch "Liferay Portal 6.1 EE GA2 Update 2012-09-18 Plugin Deployment-1"

See patch "Liferay Portal 6.1 EE GA2 Update 2012-09-18 Plugin Deployment-1" at "http://www.liferay.com/group/customer/downloads/-/asset_publisher/YtYHVPRKNO6z/content/2012-09-18-6-1-20-update-plugin-deployment-1"

This patch introduced new hot deploy listener "com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener"

When the ServletContextListenerHotDeployListener is enabled via the hot.deploy.listeners property, the DM Info Viewer hook exhibits the following non-deterministic behaviours:

1/ The hook will not register with Liferay Portal at startup 2/ The hook will throw an Illegal State Exception at runtime due to an missing property packaged with the hook.

timtelcik commented 11 years ago

When the ServletContextListenerHotDeployListener is disabled, the hook behaves as expected.

timtelcik commented 11 years ago

This issue is related to https://github.com/permeance/liferay-dm-folder-downloader/issues/2

timtelcik commented 11 years ago

Liferay DM Info Viewer and Liferay DM Downloader do not startup correctly when com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener is enabled.

See https://github.com/permeance/liferay-dm-folder-downloader

timtelcik commented 11 years ago

Refactored classes and properties to enable compatibility with Liferay Portal 6.1 EE GA2 (6.1.20) patch "plugin-deployment-1-6120".