[MGNLFE-309] Create variants for component-with-area is not working properly Created: 15/Aug/22  Updated: 27/Jan/23  Resolved: 18/Oct/22

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: 1.3.0
Fix Version/s: 1.3.1

Type: Bug Priority: Major
Reporter: Canh Nguyen Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 0.5d Time Spent: 0.5d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Relates
relates to PAGES-761 Personalization of components which c... Closed
relates to MGNLFE-372 Creating component variant breaks edi... Closed
dependency
depends upon MGNLPN-692 Create a variant-aware TemplateAnnota... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-310 Implementation Sub-task Completed Robert Šiška  
MGNLFE-311 Review Sub-task Completed Canh Nguyen  
MGNLFE-312 Pre-Integration QA Sub-task Completed Canh Nguyen  
MGNLFE-313 QA Sub-task Completed Javier Benito  
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)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: External SPA Backlog
Sprint: DevX 21
Story Points: 3
Team: DeveloperX

 Description   

Steps to reproduce:

  1. Create new page
  2. Add Component-with-area (Note: add dialog to the definition to enable creating variant for this component)
  3. Not adding adding any nested components for Component-with-area and click create variant for it
  4. Result:
    • On angular-sample: Cannot add components to the Component-with-area's variant, but it works fine on the original.
    • On react-sample: The page cannot be displayed

Note: The vue-sample is working fine without issues.

 

Developer notes:

The issue could be area content is not created for variants in angular-editor and react-editor.

Workaround:

Create at least one nested component in the Component-with-area then create variants. In the variants, we can add more components and remove unused components but keep at least one component.


Generated at Mon Feb 12 05:46:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.