Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7720

JCR Yaml Import is not taking account of null properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.7.7, 6.1.6, 6.2.1
    • 6.1.4
    • None
    • Maintenance 1, Maintenance 2
    • 3

      The method yaml2Jcr from DataTransporter class it's not taking on account properties with null values.

      Stepts to reproduce:

      Create the following structure at, e.g, config workspace:

      'parent':
      'property1':
      'property2': value

      Export as Yaml and delete the parent node. Now, if the config.parent.yaml file is imported, the property property1 is a contentNode instead of an attribute.

      Regards

        Acceptance criteria

              jalonso Jesus Alonso
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 0.95h Remaining Estimate - 0.25d
                    0.25d
                    Logged:
                    Time Spent - 0.95h Remaining Estimate - 0.25d
                    0.95h