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

When using custom themes with embedded custom portlets the JS objects are called twice

    Details

      Description

      This is caused by commit 7cd10b20d12f9cab1d575a050a3f05c11510c88f

      The simplification actually modifies the behavior of the doTag method by modifying the scope of the JSONObject, and when the objects Header/footer paths are added.

      https://github.com/brianchandotcom/liferay-portal-ee/compare/7d674e07c6...5e6d361ffc

      Description
      An alert message from the custom portlet appears twice when it should appear once. I think this is a bug because in 6.2 SP8 it only appeared once.

      Steps to Reproduce
      1) Start a clean bundle of 6.2 SP9
      2) Deploy the two custom portlets attached to this ticket
      3) Change the theme of the home page to the custom sp9 theme.
      4) Click ok on the alert box.
      5) Refresh the page.
      6) Click ok on the alert box

      Expected: The alert box would close like it did in step 4.
      Actual: The alert box reappears.

      Important: This issue does not occur in 6.2 SP8.

      Branch 62x - 30324b2f74a5033bcd49e439bbb8e430d8f97ae7: Reproduced
      Master - 274ce86c8858c4f8694eb2a45538277b7e7aed83: Cannot test in Master because the theme will not deploy per this log message.

      15:53:36,882 ERROR [localhost-startStop-3][ThemeLocalServiceImpl:527] Themes in this WAR are not compatible with Liferay Portal Community Edition / 7.0.0
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              steven.smith Steven Smith (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M4