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

CoreSession.setDocumentSystemProp must allow version write on VCS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Core, Core VCS

      Description

      Currently CoreSession.setDocumentSystemProp when trying to write on a version behaves differently on VCS and DBS:

      • on VCS is prevents the write with a VersionNotModifiableException (actually only for the "isTrashed" prop for now)
      • on DBS it allows the write

      Given that this is for system properties, where the code is supposed to know what it does, we should always allow the write.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1 hour
                1h