redirectTarget anomaly 6.0 to 6.2 upgrade. | Community
Skip to main content
Level 3
January 19, 2017
Solved

redirectTarget anomaly 6.0 to 6.2 upgrade.

  • January 19, 2017
  • 1 reply
  • 1144 views

Hello  friends.

I am facing an issue in AEM 6.0 to 6.2 upgrade project.

We have some pages tagged with redirect link (jcr:content/redirectTarget)

redirect link works fine on Author. However on Publisher ?wcmmode=disabled is getting appended in the URL.

The actual URL in the redirectTarget does not have wcmmode specified.

There is  no dispatcher involved. there is no jcr resource resolver configuration which can embed ?wcmmode=disabled to the URL.

This functionality works fine in AEM 6.0 Publisher.  But not sure why it does not work on 6.2 Pub.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Altham

Opened a daycare ticket. Daycare has given a fix.

As temporary workaround, Please remove [1] (Line 49) from /libs/foundation/components/page/page.jsp or create an overlay for this for now and this should help resolve this issue.

// include wcmmode=disabled to redirected url if original request also had that parameter 

if (wcmModeIsDisabled) {

       redirectPath += ((redirectPath.indexOf('?') == -1) ? '?' : '&') + "wcmmode=disabled";

}

1 reply

AlthamAuthorAccepted solution
Level 3
January 20, 2017

Opened a daycare ticket. Daycare has given a fix.

As temporary workaround, Please remove [1] (Line 49) from /libs/foundation/components/page/page.jsp or create an overlay for this for now and this should help resolve this issue.

// include wcmmode=disabled to redirected url if original request also had that parameter 

if (wcmModeIsDisabled) {

       redirectPath += ((redirectPath.indexOf('?') == -1) ? '?' : '&') + "wcmmode=disabled";

}