OakConstraint0001, Errors installing cq-dialog-conversion-content-1.0.0.zip

Avatar

Avatar
Validate 10
Level 3
crisr1
Level 3

Likes

16 likes

Total Posts

75 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
crisr1
Level 3

Likes

16 likes

Total Posts

75 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
crisr1
Level 3

15-10-2015

"org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /apps/cq/core/content/nav/tools[[nt:folder]]: No matching definition found for child node operations with effective type [nt:unstructured, rep:AccessControllable]"

I'm getting the error above when installing cq-dialog-conversion-content-1.0.0.zip package. I'm running AEM6 SP2 with ACS Commons 1.9.2. I mention ACS because I see a possibly related posting on acs github, I'd like to try out the conversion tool, so any help would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Level 1
damien_obrist
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

1 solution
View profile

Avatar
Level 1
damien_obrist
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

1 solution
View profile
damien_obrist
Level 1

15-10-2015

Hi Chris

The problem is actually the ACS Commons package, which installs the /apps/cq/core/content/nav/tools with the wrong node type (nt:folder, correct would be nt:unstructured). I have created an issue and a pull request on https://github.com/Adobe-Consulting-Services/acs-aem-commons.

What you can do to fix the setup manually is to recreate /apps/cq/core/content/nav/tools in CRXDE with the correct node type, i.e. nt:unstructured. Make sure you copy back the original child nodes to the newly created "tools" node. After that, the dialog conversion package should install correctly.

HTH 

Answers (0)