-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.2
-
Fix Version/s: 4.1.0
-
Component/s: Direct Edit
As those logs shows, this is not currently handled:
2018-12-13 15:31:15,576 10132 9452 ERROR nxdrive.commandline Error executing 'launch': Traceback (most recent call last): File "nuxeo-drive-client\nxdrive\commandline.py", line 472, in handle File "nuxeo-drive-client\nxdrive\commandline.py", line 501, in launch File "nuxeo-drive-client\nxdrive\direct_edit.py", line 114, in handle_url File "nuxeo-drive-client\nxdrive\direct_edit.py", line 308, in edit File "nuxeo-drive-client\nxdrive\direct_edit.py", line 241, in _prepare_edit File "nuxeo-drive-client\nxdrive\client\remote_document_client.py", line 316, in doc_to_info File "nuxeo-drive-client\nxdrive\client\remote_document_client.py", line 437, in fetch HTTPError: HTTP Error 403:
2018-12-13 15:48:12 13924 7524 DEBUG nxdrive.direct_edit Uploading file u'\\\\?\\C:\\Users\\USER\\.nuxeo-drive\\edit\\UID\\D\xe9part Juliette.docx' 2018-12-13 15:48:16 13924 7524 DEBUG nxdrive.client.base_automation_client Remote exception message: Failed to invoke operation NuxeoDrive.AttachBlob, Privilege 'WriteProperties' is not granted to 'juliette.fauritte' 2018-12-13 15:48:16 13924 7524 DEBUG nxdrive.client.base_automation_client Remote exception details: '{"entity-type":"exception","status":403,"message":"Failed to invoke operation NuxeoDrive.AttachBlob, Privilege \'WriteProperties\' is not granted to \'juliette.fauritte\'"}' 2018-12-13 15:48:16 13924 7524 ERROR nxdrive.direct_edit DirectEdit unhandled error for ref u'/UID/D\xe9part Juliette.docx' Traceback (most recent call last): File "nxdrive\direct_edit.py", line 469, in _handle_upload_queue File "nxdrive\client\remote_document_client.py", line 206, in stream_update File "nxdrive\client\base_automation_client.py", line 448, in execute_with_blob_streaming File "nxdrive\client\base_automation_client.py", line 577, in execute_batch File "nxdrive\client\base_automation_client.py", line 385, in execute HTTPError: HTTP Error 403:
Fix
- Inform the user
- Remove the file from the upload queue
- causes
-
NXDRIVE-1507 Fix DirectEdit's Forbidden signal arguments
-
- Resolved
-
- is related to
-
NXDRIVE-1887 Display a message on forbidden Direct Edit lock action
-
- Resolved
-