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

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

  • October 18, 2018
  • 3 replies
  • 7362 views

[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.
Best answer by Peter_Puzanovs

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

joerghoh
Adobe Employee
Adobe Employee
October 19, 2018

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

raj_mandalapu
Level 7
October 19, 2018

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.

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
October 19, 2018

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

Please delete invalid image and try again.

Regards,

Peter