[PAGES-761] Personalization of components which contain areas with SPA Editor does not work Created: 10/Nov/21  Updated: 25/Apr/23  Resolved: 16/Aug/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0, 6.2.21

Type: Bug Priority: Major
Reporter: Jaroslav Simak Assignee: Robert Šiška
Resolution: Fixed Votes: 1
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1d Time Spent: 1d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLFE-150 CLONE - Angular: Personalization of c... Closed
Relates
relates to MGNLFE-372 Creating component variant breaks edi... Closed
relates to MGNLFE-309 Create variants for component-with-ar... Closed
relates to MGNLFE-153 DOC: Personalization of components wh... Closed
dependency
is depended upon by MGNLFE-308 Greenbars of component variants with ... Open
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PAGES-762 Implementation Sub-task Completed Robert Šiška  
PAGES-763 Pre-Integration QA Sub-task Completed Canh Nguyen  
PAGES-764 Review Sub-task Completed Canh Nguyen  
PAGES-765 QA Sub-task Completed Dai Ha  
Template:
Acceptance criteria:
[ ]* If a note has been added to the docs in this ticket - the note should be removed: https://jira.magnolia-cms.com/browse/MGNLFE-153
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)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Sprint: DevX 16
Story Points: 5

 Description   

In SPA Editor: Components with nested areas are not displaying green bars (or show wrong content). So it is not possible to personalize components which contain areas. (ie "Nest area in component")

Steps to reproduce

  1. Open react-minimal demo from frontend-helpers
  2. Add "Nested area in component" component
  3. Create component variant of the "Nested area in component"
  4. Switch to original
  5. Add a new component inside "Nested Area" area.

Expected results

  1. Component variant does not display any content in the "Nested Area" (Since no content has been added to the variant.)

Actual results

  1. Component variant displays content from the "Original" in the "Nested Area"

 

Additional behaviour:

Imagine a component called "component-with-area" which is a component which contains an area.

  • Add component-with-area to page.
  • Add a title component to the area. 
  • Create a variant of the parent component "component-with-area".

Result: No green bars to edit the subcomponents.

 

 

 



 Comments   
Comment by Christopher Zimmermann [ 10/Nov/21 ]

We don't know yet if this is only in "External SPA" or if this happens with normal internal spa as well.

Comment by Canh Nguyen [ 12/Nov/21 ]

Ive checked. It happens with normal internal spa as well. 

Generated at Mon Feb 12 06:22:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.