[PAGES-75] Status indicator is always red for empty optional areas Created: 22/Apr/16 Updated: 15/Jun/16 Resolved: 14/Jun/16 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 5.4.4, 5.4.6 |
| Fix Version/s: | 5.4.7 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Diana Racho | Assignee: | Oanh Thai Hoang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | support | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 4d 2.5h | ||
| Original Estimate: | 3d | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Date of First Response: | |||||
| Sprint: | Saigon 48 | ||||
| Story Points: | 5 | ||||
| Description |
|
Empty optional areas show always a red status indicator although the page is activated. |
| Comments |
| Comment by Oanh Thai Hoang [ 31/May/16 ] |
|
Root cause: The optional area node does not create automatically a node on page rendering for it's purpose. Please refer to link here to see it's specification. That's is the reason the areaNode is always null while deleting area or empty optional area even when the page was published because it does not exist in JCR. Couldn't find any simple approach to resolve activation status by area' parent or area' child from now. |
| Comment by Mikaël Geljić [ 31/May/16 ] |
|
So the place-holder should not display any activation status when the optional area is not present. Does this make sense, or did I omit any use case? |
| Comment by Oanh Thai Hoang [ 31/May/16 ] |
|
Thanks, mgeljic. There are 3 cases that we should consider:
--> Case 2 and case 3: it's ok to left indicator in optional area. Every case the indicator of page is still correct. But I'm not sure for case 3 |
| Comment by Mikaël Geljić [ 31/May/16 ] |
Empty areas are fine on my side, considering a published page:
It should be no-indicator; the page gets the modified status. This is the same when you delete a component: only area and page nodes become modified. Case 3 is the same as case 1: after the page is published once, with the area present, then adding/moving/removing components makes it modified (correct). Side notes:
|