adobe / adobe/aem-spa-project-core

[bug] Support of alias and Sling Mappings

Open
#43 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
30
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
It seems like sling:alias and mappings are not supported with AEM SPA.
I don't know if this ticket should be rather a feature request than a bug ticket but as it is core functionality in AEM I reported it as a bug.

**Package version**
All version

**To Reproduce**
Steps to reproduce the behavior:
1. Add Sling alias on any SPA page. For my example I installed https://github.com/adobe/aem-guides-wknd-spa and add an alias on the homepage http://localhost:4502/editor.html/content/wknd-spa-react/us/en/home.html
![image](https://user-images.githubusercontent.com/46745410/148441067-9bd018a2-704e-4658-9615-9729569f7bd7.png)
2. Open the homepage with the alias http://localhost:4502/content/wknd-spa-react/us/en/alias.html?wcmmode=disabled
3. See that no data is rendered

**Expected behavior**
Data should still be rendered.

**Screenshots**
Not applicable

**Additional context**
This has been reported as a ticket in the archived repo https://github.com/adobe/aem-spa-project-archetype/issues/86 but it was never closed.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the WKND SPA homepage, an added Sling alias, and the provided wcmmode=disabled URL; also review the archived aem-spa-project-archetype issue. Done means the SPA page data renders when accessed through its alias and Sling mappings, with equivalent coverage for the reported mapping case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.