AEM Archetype project created with version above 23 is including a common filter for '/apps/sling' which overrides the existing changes. | Community
Skip to main content
abinayaSirius
Level 2
November 30, 2021
Solved

AEM Archetype project created with version above 23 is including a common filter for '/apps/sling' which overrides the existing changes.

  • November 30, 2021
  • 2 replies
  • 976 views

Archetype project created with version above 23 is including a common filter for '/apps/sling'. If an AEM instance already has a project which has customisations in 'apps/sling' folder, any new project with this common filter when deployed to the same instance is overriding the existing changes. 

The issue here is why does a common path like '/apps/sling' is being included in filter.xml. As every path present in filter.xml must be corresponding to the project folder. This is causing issues and every time when we create a new its necessary for us to delete this entry from filter.xml. 

 

Any alternative workaround suggested would be helpful.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @abinayasirius, I think that maybe good idea will be to raise this issue on github or contribute and make AEM Archetype better for everyone 🙂

You can find contribution guide under https://github.com/adobe/aem-project-archetype/blob/develop/CONTRIBUTING.md it also contains instruction how to raise a bug.

2 replies

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
November 30, 2021

Hi @abinayasirius, I think that maybe good idea will be to raise this issue on github or contribute and make AEM Archetype better for everyone 🙂

You can find contribution guide under https://github.com/adobe/aem-project-archetype/blob/develop/CONTRIBUTING.md it also contains instruction how to raise a bug.

arunpatidar
Community Advisor
Community Advisor
December 1, 2021

you can remove this from your project or use merge or update mode for this path in filter.xml

https://jackrabbit.apache.org/filevault/filter.html

Arun Patidar