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

Do not try to update contents of a folderish document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.4.1
    • Component/s: Synchronizer

      Description

      Sentry Issue: NUXEO-DRIVE-23C

      TypeError: can only concatenate str (not "NoneType") to str
        File "nxdrive\engine\processor.py", line 270, in _execute
        File "nxdrive\engine\processor.py", line 870, in _synchronize_locally_moved_remotely_modified
        File "nxdrive\engine\processor.py", line 1053, in _synchronize_remotely_modified
        File "nxdrive\engine\processor.py", line 1012, in _update_remotely
        File "nxdrive\engine\processor.py", line 1000, in _download_content
        File "nxdrive\client\remote_client.py", line 625, in stream_content
      

      The bad line is:

      self.client.host + fs_item_info.download_url
      

      Where it seems that self.client.host equals None.

      This is a misbehavior when Drive is trying to update contents of a folder. This is only possible for files.

        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 - 2 hours, 30 minutes
                  2h 30m