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

Portlets using Tag files cannot be re-deployed

Details

    Description

      preston.crary and I modified Liferay's Hello-World Portlet to contain a view.jsp that depends on a tag. With this simple set up, we demonstrated that portlets with tag dependencies cannot be re-deployed due to JSP Compilation issues. I'm including the .jar file below. The specific changes we made to the Hello-World portlet can be found on my branch .

      Steps To Reproduce:
      1. Deploy the *com.liferay.hello.world.web.jar by copying into the deploy folder
      2. Add the portlet to a Liferay page. You should see "This is an example" in the portlet, showing that the tag has been picked up in the view
      3. Re-deploy the portlet (or refresh in Telnet)
      4. Go to the page. The Hello World portlet should be broken. JSP compilation errors will be in the terminal

      Expected Results:
      Portlets with tags display on page without errors on redeployment

      Actual Results:
      Portlets cannot be re-deployed without deleting it's corresponding work folder

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              nolan.chan Nolan Chan (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 3 weeks, 1 day ago

                Packages

                  Version Package
                  7.0.0 DXP SP2
                  7.0.0 DXP FP13
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.1.X
                  Master