Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-309

Create variants for component-with-area is not working properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.1
    • 1.3.0
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                rsiska Robert Šiška
                canh.nguyen Canh Nguyen
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 0.5d
                      0.5d