Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2790

alloy-showcase fails to load due to infinite loop of requests in Pluto

    Details

      Description

      {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 FACES-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}

        Attachments

          Activity

            People

            Assignee:
            kyle.stiemann Kyle Stiemann (Inactive)
            Reporter:
            kyle.stiemann Kyle Stiemann (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                alloy-2.0.0
                alloy-3.0.0