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

Issue with Experience Fragment url when opening from Success dialog

Ravi_Pampana
Community Advisor
Community Advisor

Hi,

 

After creating experience fragment, clicking on Open from the success dialog, url is getting encoded and throwing page not found issue when accessing from dispatcher. Url is encoding from / to %2F when trying in local instance.

 

Fix:

Go to below node and override to /apps:

http://<host>:<port>/libs/cq/experience-fragments/content/v2/experience-fragments/createxfwizard/jcr:content/body/items/form/successresponse

 

Property: Open

Before value: /editor.html{Path}.html

New value to fix issue:  /editor.html{+Path}.html (add + before Path)

 

Screen Shot 2020-09-08 at 8.00.17 PM.png

@kautuk_sahni , If possible can you please ask product team to review the change and update the code.

 

3 Replies
Vaibhavi_Gowda
Community Advisor
Community Advisor

Hi @Ravi_Pampana , 

Good one. Thank you for posting.

I remember one of my peer was facing same issue recently. 

Would like to understand how + is stopping from url encoding? Is it something we are trying to replace 'space' with '+'  ??? Kindly explain 

kautuk_sahni
Community Manager
Community Manager

Thank you for sharing this. I'll share it with the team and get back to you soon. 

 

kautuk_sahni
Community Manager
Community Manager

@Ravi_Pampana , Reply from PM:

Maybe a bug? I think I’ve seen this. Please contact and report to support.