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

doAsUserId parameter removed from URL when links to pages belonging to other sites of the portal

    Details

      Description

      Reproduction Steps:

      1. Create a new site "new site" and a public page "test"
      2. Go back to default Liferay site and create a new public page "new test" (Type: Link to URL, URL: /web/new-site/test)
      3. Create a new user and assign the user members of Liferay and "new site"
      4. Go to Control Panel > Users and Organizations 
      5. Besides the new user's record, click Actions > Impersonate User
      6. Click on "new test" page which redirects to localhost:8080/web/new-site/test

      Actual Result: doAsUserId parameter is removed from URL "localhost:8080/web/new-site/test" so the impersonation is not working.
      Expected Result: Impersonation is working as the URL is within Liferay portal.

      Reproduced in:
      master (457e233b6dedd867edc023c31b8b80ab8ad02b04)
      7.0.x (174354bc4b1cff5eaa5f202b67ee277c568bc6ff)
      ee-6.2.x (909e05f1db5afac3d4a8f7d8a2e0760866e3a58b)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abel.yu Abel Yu (Inactive)
                Reporter:
                alan.huang Alan Huang
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  31 weeks, 6 days ago