adobe / aem-cloud-engineering-video-series-exercises

MIT License
5 stars 5 forks source link

Can't install the package on wknd legacy - missing all .content.xml #22

Open Jack-Jin-Accenture opened 1 year ago

Jack-Jin-Accenture commented 1 year ago

Expected Behaviour

Package should install per instruction on jdk8

Actual Behaviour

Getting an error installing the package /apps/wknd/components/content/helloworld[[nt:folder]]: Unexpected child node dialog found in a new node

Really .content.xml just didn't get checked into git. For an example of proper component .content.xml please see https://github.com/adobe/aem-core-wcm-components/tree/main/examples/ui.apps/src/content/jcr_root/apps/core-components-examples/components/title

Reproduce Scenario (including but not limited to)

Following the instruction on this very site trying to into AEM 6.4

Steps to Reproduce

  1. Set up AEM 6.4 run on JDK8
  2. Build via maven with wknd legacy with JDK8
  3. Tries to install package, fails to install pacakge

Platform and Version

JDK8

Sample Code that illustrates the problem

Again really just a mistake that .content.xml didn't get committed, AEM needs this information to separate folders from component nodes (with resource super types, etc)

Logs taken while reproducing problem

Jack-Jin-Accenture commented 1 year ago

Expected proper behavior from core component example (and any other AEM project) with .content.xml, jcr primary type of cq:Component is here image

Jack-Jin-Accenture commented 1 year ago

Actual code checked into this repo, missing .content.xml: image