Mandatory property jcr:data not found in a new node 6.4 upgrade | Adobe Higher Education
Skip to main content
sreenu539
Level 7
October 18, 2018
해결됨

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

  • October 18, 2018
  • 3 답변들
  • 7362 조회

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

이 주제는 답변이 닫혔습니다.
최고의 답변: 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 답변

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