While depolying the ui.content package its not updating the path or the modifications done by me | Community
Skip to main content
Level 3
July 21, 2021
Solved

While depolying the ui.content package its not updating the path or the modifications done by me

  • July 21, 2021
  • 5 replies
  • 2804 views

While depolying the "ui.content" package its not updating the path or the modifications done by me

 

ex: content/myproject/home.html the jcr:content still showing the existing one let me know about this.

 

I went to the filter.xml file changes also but its not working

 

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 joerghoh

Hi,

 

I assume that you can reproduce this on your local environment; in that case please install that package via the package manager and check its log for the page you are interested. It should indicate the action (added/updated/none/...). Then double check the filter section (either in the filter.xml or via the package manager UI).

When I had this problem, it was typically a typo in the filter.xml (incorrect path or something like that).

5 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
July 21, 2021

Hi,

 

I assume that you can reproduce this on your local environment; in that case please install that package via the package manager and check its log for the page you are interested. It should indicate the action (added/updated/none/...). Then double check the filter section (either in the filter.xml or via the package manager UI).

When I had this problem, it was typically a typo in the filter.xml (incorrect path or something like that).

Love_Sharma
Level 4
July 21, 2021

I have seen one more problem with the version in the package manager where it says "A different version seems to be installed". Uninstalling the package and then deploy the code bring my latest changes to AEM.

arunpatidar
Community Advisor
Community Advisor
July 21, 2021

Hi,

Check the filter.xml and its modes, more info

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

if you are using merge then it will not gonna update the existing content.

 

Arun Patidar
Level 3
July 22, 2021
Hi Arun_Patidar , im using <filter root="page path" mode="update"> still i cant see updated modifications there
Level 3
July 23, 2021

Hi Arun_Patidar, Here problem is while deploying using jenkins only not with manually by manually i can do but its has come by through build only that's what im thinking below is the code in filter.

 

 

<workspaceFilter version="1.0">

<filter root="/content/we-retail/en" mode="update"/>
</workspaceFilter>

New Member
February 6, 2024

Please make sure you don't have any .dir files in your codebase.

Hope that will work for you.