-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.5.0
-
Component/s: Direct Edit
-
Release Notes Summary:Direct Edit lock permission errors
-
Release Notes Description:
Error
Sentry Issue: NUXEO-DRIVE-2FC
HTTPError: 403 Client Error: for url: SERVER/site/automation/Document.Lock File "lib\site-packages\nuxeo\client.py", line 282, in request File "lib\site-packages\requests\models.py", line 941, in raise_for_status Forbidden: Forbidden(403), error: "Failed to invoke operation: Document.Lock, Failed to invoke operation Document.Lock, Privilege 'WriteProperties' is not granted to 'USER'", server trace: None File "nxdrive\direct_edit.py", line 652, in _handle_lock_queue File "nxdrive\direct_edit.py", line 627, in _lock File "nxdrive\direct_edit.py", line 613, in _lock File "nxdrive\client\remote_client.py", line 693, in lock File "nxdrive\client\remote_client.py", line 204, in execute File "nxdrive\client\remote_client.py", line 200, in execute File "lib\site-packages\nuxeo\operations.py", line 206, in execute File "lib\site-packages\nuxeo\client.py", line 285, in request
That error is just filling our Sentry quota (more than 3,900 events as of today) and is not useful for Nuxeo.
Fix
That error should be handled and a message should be displayed to the user.
- Is referenced in