adobe / adobe/aem-project-archetype

Invalid cq:template references in generated template types

Open
#1,222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

In a default project created from Archetype, with project name of `mysite`, the following are invalid:
- template type `page` has `cq:template="/conf/mysite/settings/wcm/templates/page-content"` (this is a circular reference to one of possibly many child templates)
- template type `xf` has `cq:template="/conf/mysite/settings/wcm/templates/empty-experience-fragment"` (this path doesnt exist)

The generated template types should probably omit `cq:template` from their structure/initial content all together.

Contributor guide

Open the contributing guide

Research direction

Start by generating a default Archetype project named `mysite` and inspect the generated `page` and `xf` template types. Compare their structure and initial content with the reported paths; done means neither generated type contains an invalid or circular `cq:template` reference.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.