dialog.xml seemingly not overwritten in package install | Community
Skip to main content
Level 4
April 26, 2017
Solved

dialog.xml seemingly not overwritten in package install

  • April 26, 2017
  • 4 replies
  • 2350 views

I have aa package automatically generated from a git package (by bamboo, waiting on changes) that contains a dialog file at /ui.apps/src/main/content/jcr_root/apps/uc-base/components/eapis/ecurriculum/dialog.xml which doesn't get overwritten.

My filter.xml is defined as this: 

<?xml version="1.0" encoding="UTF-8"?> <workspaceFilter version="1.0"> <filter root="/apps/cq/gui/components/siteadmin/admin/listview/coral/analytics/analyticscell/" /> <filter root="/apps/uc-base" mode="replace"> <exclude pattern="/apps/uc-base/install" /> </filter> <filter root="/apps/foundation" /> <filter root="/apps/granite/ui" /> <filter root="/apps/wcm/foundation/components" /> <filter root="/conf/uc-base" /> <filter root="/etc/designs/uc-base" mode="replace"/> <filter root="/etc/clientlibs/uc-base" mode="replace"/> </workspaceFilter>

This package is installed using maven, however, the same thig happens when I deploy manually from the package manager. As you can see--i have set mode="replace" on the /apps/uc-base tree.

When I work on this dialog in brackets, I'm able to deploy changes to my localhost ok.

My maven commands are

build: mvn --batch-mode -Djava.io.tmpdir=/tmp/AEB-CORE0-JOB1 clean -Pbuild content-package:package compile generate-resources

deploy: mvn -pl ui.apps -Pdevelopment content-package:install

Here is the dialog on a public repo that has the develop branch of my project: https://github.com/scrupulo/cqaembase/blob/master/ui.apps/src/main/content/jcr_root/apps/uc-base/components/eapis/ecurriculum/dialog.xml

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 MC_Stuff

Hi Stockwell,

The activity logs at each folder as "-"  that means no change compared to content in package. 

Can you remove exclude filter and see replace works.  In any case this looks bug for me. Please try with latest vault and package manager hotfix Or engage with official support channel. 

Thanks,

4 replies

MC_Stuff
Level 10
April 27, 2017

Hi Stockwell,

There should be an error. Can you enable debug on vault package and verify the logs.

Thanks,

BenSt10Author
Level 4
April 27, 2017

Originally, there where errors with my files at /etc and /etc/designs but I fixed that and it's not showing anything now.

For the fixed versions, here are links for the activity log output from the package manager and log file for the install:

activity stream:
https://gist.github.com/scrupulo/8812ef6d3d990da31a7470748b216d5f 

and the log file:

https://gist.github.com/scrupulo/aac87f40b9a0d4edc50c2c49965467db

BenSt10Author
Level 4
April 27, 2017

I renamed the node at 

/apps/uc-base/components/eapis/ecurriculum/dialog/items/items/_1_getdata/items/selection/items/searchpanel/items/button

to "btn" and I ended up with the new node being created, and the old node being left in the same location.

That seems like merge behavior, but I have replace set on the parent filter config, so I'm not sure what's happening.

MC_Stuff
MC_StuffAccepted solution
Level 10
April 28, 2017

Hi Stockwell,

The activity logs at each folder as "-"  that means no change compared to content in package. 

Can you remove exclude filter and see replace works.  In any case this looks bug for me. Please try with latest vault and package manager hotfix Or engage with official support channel. 

Thanks,