-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: alloy-2.0.0, alloy-3.0.0
-
Fix Version/s: alloy-2.0.0, alloy-3.0.0
-
Component/s: Liferay Faces Alloy / Showcase / Tests
-
Labels:None
{markdown}
Steps to reproduce:
1. Deploy the alloy-showcase on Pluto.
2. Navigate to the alloy-showcase.
If the bug still exists, the page will load infinitely, `alloy:accordion`'s markup will not appear, and the browser dev tools will show infinite requests occurring for the following URL:
http://localhost:8180/pluto/portal/alloy-showcase/__rscom0x2liferay0x2faces0x2demo0x2alloy0x2showcase0x2portlet0x21!1962800111|0?javax.faces.resource=combo&ln=liferay-faces-alloy-reslib&build/widget-base/widget-base-min.js&build/aui-toggler-base/aui-toggler-base-min.js
If the bug is fixed, the portlet will load normally and the `alloy:accordion` will render markup.
This may be related toFACES-2518(https://issues.liferay.com/browse/FACES-2518). Since [FACES-2518 was caused by the fact that getResponseHeaders() returned null](https://issues.liferay.com/browse/FACES-2518?focusedCommentId=723832&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-723832) (causing a `NullPointerException` that was hidden by the infinite requests), perhaps this issue is caused by something similar like [the fact that getURL() returns null](https://github.com/liferay/liferay-faces-alloy/blob/master/reslib/src/main/java/com/liferay/faces/alloy/reslib/application/internal/ComboResource.java#L134-L137).{markdown}
Steps to reproduce:
1. Deploy the alloy-showcase on Pluto.
2. Navigate to the alloy-showcase.
If the bug still exists, the page will load infinitely, `alloy:accordion`'s markup will not appear, and the browser dev tools will show infinite requests occurring for the following URL:
http://localhost:8180/pluto/portal/alloy-showcase/__rscom0x2liferay0x2faces0x2demo0x2alloy0x2showcase0x2portlet0x21!1962800111|0?javax.faces.resource=combo&ln=liferay-faces-alloy-reslib&build/widget-base/widget-base-min.js&build/aui-toggler-base/aui-toggler-base-min.js
If the bug is fixed, the portlet will load normally and the `alloy:accordion` will render markup.
This may be related to