[MGNLPN-692] Create a variant-aware TemplateAnnotationEndpoint Created: 06/Sep/22 Updated: 06/Oct/22 Resolved: 29/Sep/22 |
|
| Status: | Closed |
| Project: | Magnolia Personalization |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0, 2.1.6 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roberto Gaona | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | cs-bk | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 3.5h | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||
| Epic Link: | Support | |||||||||||||||||||||||||
| Sprint: | DevX 20 | |||||||||||||||||||||||||
| Story Points: | 3 | |||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Description |
Steps to reproducePerform the following request to the TemplateAnnotation endpoint: Expected resultsNode is returned along its components and variants. Actual resultsAll children pages are brought along with the expected results Development notesIt seems like this issue appeared when PAGES-761 got fixed, with this commit. The method used for the endpoint changed from NodeUtil.visit to NodeUtil.collectAllChildren. |