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

link to URL removes impersonation parameter

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:
      1. Create a web content article with a structure with link to URL configured and select a page
      2. Add Web Content Display to a page and select the link to URL Web Content.
      3. Create a new user
      4. As admin user, impersonate the new user and click the web content article link to URL

      Expected Behavior: Redirected to the page as impersonated user, and doAsUserId parameter remains in the URL
      Actual Behavior: Redirected to the page as admin user, and doAsUserId parameter is removed from the URL

      Testing:
      Reproduced in 7.0.x-private: d5bce5d61ec1c5d535d0594b951baaa92c39a79d
      Reproduced in Master: b203820d017de1393ba6a2f1deb9d32bded0306d

      Notes:
      Once LPS-95208 is committed the issue is still reproducible despite forwarding properly because the themeDisplay doesn't have the doAsUserId (the WC link doesn't have the parameter so it isn't there for addPreservedParameters)

        Attachments

          Activity

            People

            • Assignee:
              spencer.woo Spencer Woo
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Spencer Woo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 18 weeks ago

                Packages

                Version Package