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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • s10
    • None
    • 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.

      Attachments

        Activity

          People

            efahl Elizabeth Fahl
            vtguy08 Taylor Wise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: