Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEMaaCS local Build Issues

Avatar

Level 2

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

2 Replies

Avatar

Community Advisor

@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/...

Avatar

Community Advisor

@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