Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-26122

Fix the hook detection during deployment

    Details

      Description

      If you create a hook named replace-portlet-ids-hook Liferay will try to deploy it as a WAI deployer instead of a hook. Why? Because of the weak detection code of BaseAutoDeployListener.isHookPlugin. We must create a strong way to detect if a plugin is a portlet or hook or something else. My opinion is to use the liferay-plugin-package.(properties|xml) to detect the plugin type.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 5 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2