Expand my Community achievements bar.

SOLVED

Mandatory property jcr:data not found in a new node 6.4 upgrade

Avatar

Level 7

[INFO] Installing test.ui.apps (test.ui.apps-0.1-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.jsp

[ERROR] Request failed: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /etc/designs/test/jcr:content/page/logo/image/_content/jcr:content[[nt:resource]]: Mandatory property jcr:data not found in a new node (500)

Any ideas on above oak constraint ? I am trying to upgrade to 6.4?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Looking at the error it appears you are trying to import empty, invalid image.

Please delete invalid image and try again.

Regards,

Peter

View solution in original post

3 Replies

Avatar

Employee Advisor

The problem has nothing to do with AEM 6.4. It's more about the content structure to try to import into the JCR. I would assume that something is wrong with the files in ui.apps/src/main/content/jcr_root/etc/designs/test/.

Check that you create the right node types at the right plcae. To see how it should look like to can create a package from a working section and have a look at the created zip file.

Jörg

Avatar

Level 8

I am not sure, but in AEM 6.4, we need to move all from etc/designs to /apps/settings/wcm/designs/<projetname>, please move to apps and test.

Avatar

Correct answer by
Community Advisor

Looking at the error it appears you are trying to import empty, invalid image.

Please delete invalid image and try again.

Regards,

Peter