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

Cannot deploy WAB without being processed by Liferay

    Details

      Description

      There are cases that makes useful for users to create their own well-formed WAB (for JSF DS portlets for example). Right now, if those WAB are being deployed in Liferay, they would be processed.

      This could mess up the MANIFEST file, together with unexpected Liferay added files (liferay-portlet.xml ,etc), causing issues with the deployed war file.

      Steps to reproduce:

      1. Copy attached WAB (.war extension) to deploy folder
      2. Wait until module is deployed.
      3. Connect to Liferay OSGI console (telnet localhost 11311)
      4. Find bundle id from deployed war (execute lb in OSGI console, bundle should be last one).
      5. Search for bundle in /osgi/state/org.eclipse.osgi/<bundle_id>/0/bundleFile.
      6. Compare bundleFile with attached WAR.

      Expected behavior: Deployed WAR should not have any /WEB-INF/liferay-portlet.xml or /WEB-INF/lib/util-taglib.jar file.
      Actual behavior: WAB is processed and unwanted files are added (/WEB-INF/liferay-portlet.xml etc)

        Attachments

        1. fix.png
          fix.png
          109 kB
        2. jsf.applicant-4.0.0-SNAPSHOT.war
          4.47 MB
        3. reproduce.png
          reproduce.png
          30 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 31 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.1 CE GA2