Mandatory property jcr:data not found in a new node 6.4 upgrade | Community
Skip to main content
sreenu539
Level 7
Oct 18, 2018 10:31 PM UTC
Solved

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

[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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Oct 19, 2018 11:49 AM UTC

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

Please delete invalid image and try again.

Regards,

Peter

3 replies

Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Oct 19, 2018 11:49 AM UTC

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

Please delete invalid image and try again.

Regards,

Peter

Translate
raj_mandalapu
Level 7
Oct 19, 2018 11:21 AM UTC

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.

Translate
joerghoh
Employee
Oct 19, 2018 6:47 AM UTC

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

Translate