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

Login-Modal causes JS-Script errors if a layout with friendlyUrl "/login" exists

Details

    Description

      Steps to reproduce this error (on a fresh LR-Instance):

      1. Setup a new Site and use the default theme (classic)
      2. Create a new Home-Layout (can be empty)
      3. Create a new Login-Layout with the friendlyUrl "/login". Place the Sign-In-Portlet on it
      4. On the Home-Layout, press the sign-in button in the Navigation-Bar
      5. The Login-Modal now displays the full Login-Layout instead of only the Login-Portlet in its exclusive view. This causes a lot of Javascripts to re-apply, leading to multiple exceptions.

      The reason for the behaviour in step 5 is a property called "auth.login.site.url". The property works, because it is correctly redirecting to its predefined value "/login", but in doing so it dismisses the "exclusive"-WindowState in which the Login-Portlet should originally be displayed, along with other parameters that might be passed to the page.

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            sebastian.glathe Sebastian Glathe
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              16 weeks, 4 days ago

              Packages

                Version Package