Details
-
Type:
Bug
-
Status:
In Review
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: 6.2.0 CE M2
-
Component/s: UI, UI > JavaScript & CSS
-
Labels:None
-
Environment:Latest Nightly Build 01/09/2011
-
Epic/Theme:
-
Story Points:3
-
Fix Priority:3
-
Similar Issues:
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.

Hi Richard,
Thank you for reporting this issue. I have tested this issue in HEAD revision of trunk, but I cannot reproduce the issue you have described.
I have add several portlets to the page to make it long enough to scroll, then I added Related Assets portlet.
Then add ?scroll=hrefFm to the URL, the page did navigate to the bottom of the page which indicates allPortletsReady event has already been triggered. (See
LPS-15962)I'm going to resolve this ticket since it's no more reproduced, if you still have concern about this issue, pleas update this ticket.
Thanks,
Ryan Wan.