Opened 10 years ago

Closed 10 years ago

#481 closed bug (fixed)

Sync does not update files that create temp working files when editing

Reported by: jkenyon Owned by:
Priority: major Milestone:
Component: Sync Version: 7.1.1
Keywords: Cc:

Description

LogicalDOC Sync 1.1.1

You can put a document (Test1.docx) in a local folder, the sync process works fine, creating a Test1.docx version 1.0 in the remote folder within LogicalDOC.

However if when you edit Test1.docx in the local folder, *.tmp files are created during the editing process which seems to confuse LogicalDOC-Sync, the next time it tries to sync, instead of updating Test1.docx to version 1.1 on the server it does not do anything.

This is not a problem with local files that don't create .tmp working files for the editing process, like .txt files.

Below are snippets from the logicaldoc-sync-stdout log file.

Example with Test1.docx (Word documents create .tmp files):

2014-11-12 07:34:19,044 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.docx
2014-11-12 07:34:19,045 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.docx
2014-11-12 07:34:41,529 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~$Test1.docx
2014-11-12 07:34:41,529 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~$Test1.docx
2014-11-12 07:34:47,003 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRD0000.tmp
2014-11-12 07:34:47,008 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRD0000.tmp
2014-11-12 07:34:47,008 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRD0000.tmp
2014-11-12 07:34:47,021 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRD0000.tmp
2014-11-12 07:34:47,023 - ENTRY_DELETE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.docx
2014-11-12 07:34:47,023 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRL0001.tmp
2014-11-12 07:34:47,023 - ENTRY_DELETE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRD0000.tmp
2014-11-12 07:34:47,023 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.docx
2014-11-12 07:34:47,023 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRL0001.tmp
2014-11-12 07:34:47,023 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.docx
2014-11-12 07:34:47,024 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRL0001.tmp
2014-11-12 07:34:47,186 - ENTRY_DELETE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~WRL0001.tmp
2014-11-12 07:34:48,531 - ENTRY_DELETE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\~$Test1.docx

Example with Test1.txt (Standard Text file, doesn't create .tmp file when editing):

2014-11-12 07:40:28,987 - ENTRY_CREATE: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.txt
2014-11-12 07:40:28,988 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.txt
2014-11-12 07:42:54,756 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.txt
2014-11-12 07:42:54,761 - ENTRY_MODIFY: C:\Users\jkenyon\Documents\LogicalDOC_Sync_Directory\Test1.txt

Change History (5)

comment:1 Changed 10 years ago by car031

  • Resolution set to worksforme
  • Status changed from new to closed

We tried to replicate this on a LogicalDOC 7.1.1 and the file is correctly updated automatically some time after the editing.
During the editing the document is correctly left untouched.
We close the issue now, but ask you to try against a 7.1.1 and then if the case reopen it.

comment:2 Changed 10 years ago by jkenyon

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Upgraded to 7.1.1, still have the same issue.

comment:3 Changed 10 years ago by jkenyon

  • Version changed from 6.8.4 to 7.1.1

comment:4 Changed 10 years ago by car031

please send to support@… your file LogicalDOC-Sync/conf/context.properties

comment:5 Changed 10 years ago by car031

  • Resolution set to fixed
  • Status changed from reopened to closed

This is corrected in the version 1.1.2, that will be made available when we will release LogicalDOC 7.1.3

Note: See TracTickets for help on using tickets.