adobe-rnd / aem-boilerplate-xwalk

Use this repository template for new AEM XWalk projects.
https://main--aem-boilerplate-xwalk--adobe-rnd.aem.page
Apache License 2.0
23 stars 29 forks source link

Fragment path changes when authoring with different branch #40

Open dhiagarw opened 2 months ago

dhiagarw commented 2 months ago

I have a header fragment at /content/site/us/en/fragments/nav. When working with the default branch this fragment loads correctly. However, if I change the branch with ?ref=feature-branch, this fragment path changes to something like "/content/site.feature-branch/us/en/fragments/nav". Another scenario, in some cases the path points to old locations probably cached before moving the fragment location.

1. Working correctly

Screenshot 2024-09-03 at 2 23 46 PM
  1. Issue with feature branch
Screenshot 2024-09-03 at 2 25 05 PM