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

Fix rename/create same folder or file while running

    XMLWordPrintable

    Details

      Description

      Investigating on NXDRIVE-668, we noticed this error while performing the same scenario but keeping Drive running:

      2017-03-13 15:58:02,829 15407 139892453537536 TRACE    nxdrive.engine.processor Entered _synchronize_locally_created, parent_pair = StateRow[6](Local: u'/Nuxeo Drive Test Workspace/Folder01/subfolder01', Remote: None, Local state: created, Remote state: unknown, State: locally_created)
      2017-03-13 15:58:02,829 15407 139892453537536 ERROR    nxdrive.engine.processor Parent folder of /Nuxeo Drive Test Workspace/Folder01/subfolder01/Image02.jpg, /Nuxeo Drive Test Workspace/Folder01/subfolder01 is not bound to a remote folder
      Traceback (most recent call last):
        File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/processor.py", line 236, in _execute
          sync_handler(doc_pair, local_client, remote_client)
        File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/processor.py", line 401, in _synchronize_locally_created
          % (doc_pair.local_path, doc_pair.local_parent_path))
      ValueError: Parent folder of /Nuxeo Drive Test Workspace/Folder01/subfolder01/Image02.jpg, /Nuxeo Drive Test Workspace/Folder01/subfolder01 is not bound to a remote folder
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: