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

Overriding some portlets with liferay-portlet-ext.xml may causes NPE

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      1. create ext plugin
      2. modify liferay-portlet-ext.xml to override a portlet. Can just copy the exact entry from liferay-portlet.xml. I'm using journal in this case.
      3. deploy the war file
      4. restart the server
      5. you will get duplicate struts warning followed by NPE.

      Attached an example war.

        Attachments

          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, 44 weeks, 1 day ago