Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1417

REST client utility is not making 'nt:file' nodes versionable

    XMLWordPrintable

Details

    Description

      When the JsonRestClient.publish(...) method is called with a true value for "versionable", the JsonRestClient method creates a FileNode object that only sets the 'jcr:mixinTypes' property to 'mix:versionable' _on the "jcr:content" child node. It needs to instead make the 'nt:file' node versionable instead, and have the "jcr:content" child node be versioned via the (default) OPV value of COPY.

      Basically, lines 117-119 need to move after line 103.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: