Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10761

jcr diff 1.01.xx - Failed to read cdata value if a cdata value is an empty string

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • Ongoing
    • jcrdiff-1.01.06
    • jcrdiff
    • None
    • 0.5
    • Pulsar
    • Platform159:Post-bang/Pre-beta, Platform161: Pre-GA1

    Description

      After creating a patch file from a running system on hst component parameter values containing an empty string (e.g, <![CDATA[]]>) like the following example, when you try to apply the patch in the target system, it fails with error logs: "[INFO] [talledLocalContainer] 25.05.2017 14:20:31 ERROR http-nio-8080-exec-1 [PatchReader.readPatch:133] Failed to create update operation: Could not read cdata value"

      SOURCE = /hst:hst/hst:configurations/myhippoproject/hst:workspace
      TARGET = /hst:hst/hst:configurations/myhippoproject/hst:workspace
      
      =======================================================================
      INSERT hst:workspace[0]/hst:pages[1]/.../@hst:parametervalues
      TYPE = String
      MULTIPLE = true
      VALUES = [<![CDATA[center]]>, <![CDATA[off]]>, <![CDATA[banners/landing-pg/landing-page-htmlbanner/physician]]>, <![CDATA[20]]>, <![CDATA[on]]>, <![CDATA[20]]>, <![CDATA[bottom]]>, <![CDATA[300]]>, <![CDATA[]]>]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: