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

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

XMLWordPrintable

      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.

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

                Created:
                Updated:
                Resolved: