AEMaaCS local Build Issues | Community
Skip to main content
New Participant
April 11, 2024

AEMaaCS local Build Issues

  • April 11, 2024
  • 2 replies
  • 591 views

Hi,

 

I have a maven archetype 48 based project built in my local. When I try to deploy the code to my local cloud aem instance, I get the below errors/violations on the dam attributes. Any pointers on these  would be of great help. thanks.

Note: The ui.structure pom has the dam root entry in the filter rules (

/content/dam/mytestsite)

 

[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content, line=10, column=44
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'dam:assetState' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content, line=10, column=44
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'jcr:lastModifiedBy' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content, line=10, column=44
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'jcr:lastModified' [Date] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content, line=10, column=44
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata, line=17, column=48
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'dc:format' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata, line=17, column=48
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'dam:extracted' [Date] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata, line=17, column=48
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'dam:sha1' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata, line=17, column=48
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'dam:size' [Long] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/metadata, line=17, column=48
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content/related' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/related, line=18, column=53
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\.content.xml
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original/jcr:content' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\_jcr_content\renditions\original.dir\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original/jcr:content, line=7, column=41
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'jcr:mimeType' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\_jcr_content\renditions\original.dir\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original/jcr:content, line=7, column=41
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'jcr:lastModifiedBy' [String] is not allowed in node with potential default types [nt:folder]: No applicable property definition found for name and type!", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\_jcr_content\renditions\original.dir\.content.xml, nodePath=/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original/jcr:content, line=7, column=41
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\_jcr_content\renditions\original.dir\.content.xml
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/af_model_sample.json/jcr:content/renditions/original' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\af_model_sample.json\_jcr_content\renditions\original
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/dam/mytestsite/sample_logo.png/jcr:content' is not contained in any of the filter rules", filePath=jcr_root\content\dam\mytestsite\sample_logo.png\.content.xml, nodePath=/content/dam/mytestsite/sample_logo.png/jcr:content, line=10, column=44

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

EstebanBustamante
New Participant
April 18, 2024

@srinivasanpa2 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Esteban Bustamante
Suraj_Kamdi
New Participant
April 11, 2024

@srinivasanpa2 These are check style violation due to mutable and immutable concepts introduced in AEM. You need to update Filter paths
https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/developing/basics/mutable-immutable