Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

sd55
Level 2
Level 2

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?

2 Replies
hamidk92094312
Employee
Employee

Can you clarify what your XF is named and provide the structure you have ? Is "test" a folder ?

sd55
Level 2
Level 2

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