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

Can't login after removing the login portlet from a page

    Details

      Description

      Steps to reproduce:

      1. Update UserLocalServiceImpl.updateLastLogin() method, add if(true) throw new RuntimeException("Test"); to the top of the method body
      2. Compile and deploy portal-impl
      3. Start tomcat
      4. Sign in
      5. Click Sign-in link to display login popup

      Expected result: Pop-up is displayed with login portlet inside
      Actual result: Pop-up contains whole portal page


      1. # Start a clean database, log in as test
      2. Delete the sign in portlet
      3. Log out
      4. Try to sign in --> The dialog shows the current page without the login application

      This has happened to me a couple of times. However, sometimes the login application does show up in the dialog.

        Attachments

        1. fixed.png
          fixed.png
          5.39 MB
        2. loginstacktrace.txt
          22 kB
        3. portal-ext.properties
          0.9 kB
        4. reproduced.png
          reproduced.png
          5.26 MB
        5. Welcome_-_Liferay.png
          Welcome_-_Liferay.png
          206 kB

          Issue Links

            Activity

              People

              Assignee:
              michael.yu Michael Yu (Inactive)
              Reporter:
              julio.camarero Julio Camarero (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 13 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 CE GA1