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

Fix off-by-one Transfer dataclass attributes

    XMLWordPrintable

    Details

      Description

      Sentry Issue: NUXEO-DRIVE-4SR

      AttributeError: 'int' object has no attribute 'get'
        File "nxdrive\direct_edit.py", line 830, in _handle_upload_queue
        File "nxdrive\client\remote_client.py", line 441, in upload
        File "nxdrive\client\uploader\sync.py", line 31, in upload
        File "nxdrive\client\uploader\__init__.py", line 177, in upload_impl
        File "nxdrive\client\uploader\__init__.py", line 79, in _get_transfer
      
      Direct Edit unhandled error for ref WindowsPath('528dae5d-09f2-481a-9dea-27f76648cc00_files-files-0-file/Remplissage des tanks à lait - distribution du lait - vidange des tanks à lait.docx')
      
      Upload(uid=2, path=WindowsPath('//?/C:/Users/stdher/.nuxeo-drive/edit/528dae5d-09f2-481a-9dea-27f76648cc00_files-files-0-file/Remplissage des tanks à lait - distribution du lait - vidange des tanks à lait.docx'), name='Remplissage des tanks à lait - distribution du lait - vidange des tanks à lait.docx', status=<TransferStatus.DONE: 4>, engine='191350c0313e11ea807c002324af3b03', is_direct_edit=1, is_direct_transfer=False, progress=None, doc_pair=20971520, filesize='{"batchId": "batchId-48a5440e-1516-427f-...
      

      The values are not in their right attributes (ex: filesize should be 20971520 and not doc_pair)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: