Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16768

Dublincore schema of versions should not be writable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.4
    • Fix Version/s: 10.3
    • Component/s: Core
    • Backlog priority:
      700
    • Sprint:
      nxFG 10.3.6, nxFG 10.3.8
    • Story Points:
      2

      Description

      I am able to make changes to archived/versioned documents via CMIS. I have tried with both a JavaScript CMIS library as well as the Apache Chemistry Workbench.

      The simplest test I have been able to perform:

      • Launch a plain Nuxeo 7.1 server with no Studio project installed
      • Create a workspace
      • Drag and drop a file (I used a PDF)
      • Edit the PDF to create a version.
      • Get the id of the version (e.g. Export as XML or just use the Workbench)

      Then I used a GroovyScript from the Workbench console to modify the version without issue:

      def someDoc = session.getObject("aeda9f85-a775-42d6-957d-908cd9b8432b")
      def props = ['dc:description': 'this was modified with the Workbench.']
      someDoc.updateProperties(props, true)
      

      I verified that the version was modified, not the Live Document, using the History tab in Nuxeo to view the version (and Export as XML because dc:description isn't displayed by default for Files).

      I tested with Nuxeo 7.1 and Workbench 0.12.0. I tried Atom and Browser bindings.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h