


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.
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";
}
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";
}