Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M4
-
Component/s: Legacy, Legacy > Control Panel menu
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Liferay Contributor's Agreement:Accept
-
Similar Issues:
Description
When I impersonate a regular user in a running instance of Liferay Portal (while using a portal context different than the default) the URL to which I'm redirected is wrong and the page shows a status portlet with the "Not Found" message.
E.g., I'm using /portal as portal context path. Impersonating am user, then, redirects me to localhost:8080/portal/portal/web/guest/home?doAsUserId=9iWdQZMSOeo%3D. Note the extra /portal in the URL.
When I manually remove the extra /portal in the URL, impersonating works as expected.

The portal context name was added twice to the url by the DoAsURLTag tag.