Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-8070

Boolean properties persisted by previously selected form in switchable field are not removed from JCR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.34
    • None

    Description

      Steps to reproduce

      1.  Create a page with a Video component
      2.  Select Asset as a Type in the switchable field, choose an asset and check all the checkboxes (Autoplay, Loop, Muted, Controls) on the related form to the selection on the Video component dialog and save it.
      3.  Edit the Video component, select Embed code as a Type, fill the text area for the embed code there and save it.

      Expected results

      Only embed, scale, type properties are stored in JCR

      Actual results

      embed, scale, type and assetautoplay, assetcontrols, assetloop, assetloop properties are stored in JCR. The boolean properties from the previously persisted form are set to false.

      AC

      Remove the boolean properties from the previously persisted form selected by switchable field.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ajuran Antonín Juran
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD