Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2426

Serialized XML Object is not evaluated correctly

    Details

    • Steps to Reproduce:
      Hide

      see code in description

      Show
      see code in description
    • Estimated Difficulty:
      Medium

      Description

      Just run this code, throws an error:

      <cfsavecontent variable="test"><pagevariables>
      <pagesection>
      <fieldarea>
      <title>
      </title>
      </fieldarea>
      </pagesection>
      </pagevariables></cfsavecontent>

      <cfset xXML = xmlParse(test).pagevariables>

      <cfdump var="#xXML.pagesection.fieldarea#" />

      <cfset xXML2 = serialize(xXML)>

      <cfdump var="#xXML2#" />

      <cfset xXML2 = evaluate(xXML2)>

      <cfdump var="#xXML2#" />

      <cfdump var="#xXML2.pagesection.fieldarea#" /><!--- ERROR: Attribute [PAGESECTION] not found --->

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                derrick13 Harry Klein
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: