Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-438

JcrDocument.setContentStream() should call getContextNode() to get content node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • OpenCMIS 0.6.0
    • None
    • opencmis-server-jcr
    • None

    Description

      While all other methods in JcrFolder calls getContextNode() to get the content node setContentStream() does getNode().getNode(Node.JCR_CONTENT) to find it. This makes extending JcrFolder to fit a custom node structure cumbersome.

      Attachments

        1. JcrDocument.patch
          0.7 kB
          Tobias Mattsson

        Activity

          People

            Unassigned Unassigned
            sigget Tobias Mattsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: