Highlighted

On Editing properties/creations of experience fragments in AEM, redirects to error page

sd55

07-08-2019

Hi,

I am creating expereince fragment in AEM6.4 , As soon as its created, if i click on ópen' or click on edit properties , after save and close, its redirecting to error page appending following URL

<AEM URL>:/sites.html/content/experience-fragments/test/experience-fragment

It happens only in higher environments(author) not in local, any thoughts?

Replies

Highlighted
Highlighted

sd55

07-08-2019

Hi Hamid,

I have created xFrgaments on below path:

/content/experience-fragments/test

path is : /content/experience-fragments/test/experience-fragment/master

on editing page property, save&Close button has following url appended to it

'/sites.html/content/experience-fragments/test/experience-fragment'.

Hence its redirecting to this URL.

I tried to debug more by going to this path-/libs/granite/ui/components/shell/propertiespage/propertiespage.jsp

Here value backref will be -${empty param.backHref ? (empty header.Referer ? granite:concat("/sites.html", granite:encodeURIPath(granite:relativeParent(param.item, 1))) : header.Referer) : param.backHref}

incase of empty 'header.Referer ', above url gets added. I am not very clear how we get this value