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

Liferay allPortletsReady event does not fire if page contains Related Assets portlet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Inactive
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: 7.0.0 M5
    • Labels:
      None
    • Environment:
      Latest Nightly Build 01/09/2011
    • Epic/Theme:
    • Story Points:
      3
    • Fix Priority:
      3

      Description

      1. Modify/Update a theme so the main.js file contains the following script:

      Liferay.on(
      'allPortletsReady',
      /*
      This function gets loaded when everything, including the portlets, is on
      the page.
      */

      function()

      { alert("All Portlets Ready event fired"); }

      );

      2. Apply the theme with the modified main.js to the home page.

      3. As a GUEST user navigate to the home page and confirm that the alert fires.

      4. Login an add the "Related Assets" portlet to the page.

      5. Log out and as the GUEST user again navigate to the home page. Confirm the alert does NOT fire.

      The addition on the "Related Assets" portlet to the page prevents the "All Portlets" ready event from triggering correctly.

        Attachments

          Activity

            People

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

              Dates

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

                Subcomponents