Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1639

Do not allow DirectEdit on older versions of document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Direct Edit

      Description

      It is forbidden to modify set versions on the platform, so it returns a 500 HTTP error and we will have a failure every 30 seconds.
      We should simply display a message when someone tries to do it explaining why it can't work and not start an edit.

      Sentry Issue: NUXEO-DRIVE-QF

      HTTPError: HTTPError(500), error: Failed to invoke operation Blob.AttachOnDocument with aliases [Blob.Attach], Cannot set property on a version: content, server trace: None
      (1 additional frame(s) were not displayed)
      ...
        File "nxdrive\client\remote_client.py", line 279, in upload
        File "nxdrive\client\remote_client.py", line 127, in execute
        File "nxdrive\client\remote_client.py", line 120, in execute
        File "lib\site-packages\nuxeo\operations.py", line 200, in execute
        File "lib\site-packages\nuxeo\client.py", line 197, in request
      
      HTTPError: 500 Server Error:  for url: http://172.18.40.30:8080/nuxeo/api/v1/upload/batchId-cf8393a9-0dd0-448c-8fcd-c3fa9781e8c8/0/execute/Blob.AttachOnDocument
        File "lib\site-packages\nuxeo\client.py", line 194, in request
        File "lib\site-packages\requests\models.py", line 940, in raise_for_status
      
      DirectEdit unhandled error for ref WindowsPath('fad655ea-36be-47c8-96d3-a06bf1ccd19c_file-content/Sample Excel File.xlsx')
      

        Attachments

          Issue Links

            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 day
                  1d