Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Config for experience fragments where the config is set on a cq:Page #22

Closed
allanmaio opened this issue Aug 23, 2021 · 0 comments · Fixed by #23
Closed

Cloud Config for experience fragments where the config is set on a cq:Page #22

allanmaio opened this issue Aug 23, 2021 · 0 comments · Fixed by #23
Assignees

Comments

@allanmaio
Copy link
Contributor

In some AEM instances the experience fragments have the parent as a sling:Folder or sling:OrderedFolder instead of cq:Page.
The cloud config can also be set there which if it's not a cq:Page the config can't be retrieved.

This causes a 404 on the sample call http://localhost:4502/bin/ffyconfig?uri=%2Fcontent%2Fexperience-fragments%2Fcore-components-examples%2Flibrary%2Fsimple-experience-fragment%2Fmaster.html&_=1629712141762
with response:
{"error": "no configuration found"} {}

@allanmaio allanmaio self-assigned this Aug 23, 2021
allanmaio added a commit that referenced this issue Aug 26, 2021
Fixes #22 Retrieve the cloud configuration set on a folder for Experience Fragments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant