-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.1107
-
Fix Version/s: 1.3.1107
-
Component/s: Local client, Synchronizer
Fails with:
Traceback (most recent call last): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/test_integration_local_move_and_rename.py", line 556, in test_local_rename_readonly_folder_with_rollback local_name=u'Original File 1.1.txt').one() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2367, in one raise orm_exc.NoResultFound("No row was found for one()") NoResultFound: No row was found for one()
Has to do with NXDRIVE-66, seems some sort of deduplicaiton is applied after first synchro, see pair states before and after.
Beofre first sync:
sqlite> select local_path from last_known_states; / /Nuxeo Drive Test Workspace /Nuxeo Drive Test Workspace/Original File 1.txt /Nuxeo Drive Test Workspace/Original File 2.txt /Nuxeo Drive Test Workspace/Original Folder 1 /Nuxeo Drive Test Workspace/Original Folder 1/Original File 1.1.txt /Nuxeo Drive Test Workspace/Original Folder 1/Sub-Folder 1.1 /Nuxeo Drive Test Workspace/Original Folder 1/Sub-Folder 1.2 /Nuxeo Drive Test Workspace/Original Folder 2 /Nuxeo Drive Test Workspace/Original Folder 2/Original File 3.txt
After first sync:
sqlite> select local_path from last_known_states; / /Nuxeo Drive Test Workspace /Nuxeo Drive Test Workspace/Original File 1.txt /Nuxeo Drive Test Workspace/Original File 2.txt /Nuxeo Drive Test Workspace/Original Folder 1 /Nuxeo Drive Test Workspace/Original Folder 1/Original File 1.1__1.txt /Nuxeo Drive Test Workspace/Original Folder 1/Sub-Folder 1__1.1 /Nuxeo Drive Test Workspace/Original Folder 1/Sub-Folder 1__1.2 /Nuxeo Drive Test Workspace/Original Folder 2 /Nuxeo Drive Test Workspace/Original Folder 2/Original File 3.txt
- depends on
-
NXDRIVE-66 Set readonly flags on readonly files / folders
- Resolved
- is required by
-
NXDRIVE-99 Local move when remotely modified
- Resolved