Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-731

JAPI: Subsequent calls to result fail due to root element already having a parent.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: s10
    • Component/s: None
    • Labels:
      None

      Description

      Calling 'result' on JAPI side of things multiple times causes an error. Essentially we're attempting to add the 'content' (the root element of the result) to a Document when result is called. Subsequent calls attempt to do it again, but the 'root element' already has a parent Document from the prior call.

      Need to simply clone the node before adding it to the Document.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              efinnegan Elizabeth Finnegan
              Reporter:
              twise Taylor Wise
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks