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

DumperUtil's output is wrong when properties have multiple values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.2.2
    • None
    • core
    • None

      info.magnolia.cms.util.DumperUtil currently doesn't output multi-value properties correctly.
      If prop1 is multiple but has a single value, it will print it like this

      prop1=somevalue
      
      prop2=somethingElse
      

      (note the unnecessary blankline)
      If it has multiple values, the bug becomes more apparent

      prop1=valueA,
      valueB
      ,
      valueC
      prop2=somethingElse

      Here's a patch - but no test.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD