valtech / aem-easy-content-upgrade

AEM Easy Content Upgrade simplifies content migrations in AEM projects
Other
61 stars 25 forks source link

Issue with Filevault Validation when installing AECU on AEMaaCS #201

Closed royteeuwen closed 1 year ago

royteeuwen commented 1 year ago

When trying to include the AECU complete-cloud package into our own project 'all' package, I get the following validation exceptions:

11:27:27,034 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain Oak index definitions but has 'allowIndexDefinitions' set to true.", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/META-INF/vault/properties.xml
11:27:27,042 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1, nodePath=/oak:index/aecuHistory-custom-1
11:27:27,047 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules/nt:base/properties, line=15
11:27:27,049 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules/nt:base, line=14
11:27:27,051 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules, line=13
11:27:27,052 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules/nt:base/properties/runResult, line=33
11:27:27,053 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1, line=12
11:27:27,055 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules/nt:base/properties/runOutput, line=24
11:27:27,091 [main] [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'APPLICATION' is not supposed to contain content outside '/libs' and '/apps'!", filePath=jcr_root/apps/b2c-vendor-packages/application/install/aecu.complete.cloud-6.1.0.zip/jcr_root/apps/valtech/aecu-complete/install/aecu.oak.index-6.1.0.zip/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml, nodePath=/oak:index/aecuHistory-custom-1/indexRules/nt:base/properties/path, line=42
gruberrolandvaltech commented 1 year ago

This looks like a bug in the validator. aecu.oak.index-6.1.0.zip has package type content-package. It is an embedded package of complete-cloud.

royteeuwen commented 1 year ago

Seems to be fixed by upgrading the filevault plugin!