Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-321

Eliminate extra folder uploads

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.2 RC3
    • Fix Version/s: 1.0.3 RC4
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Caused by:
      Other bug fix

      Description

      12:03:28,959 DEBUG [FileEventHandler:74] Received ADD -> C:\Users\liferay\Documents\liferay-sync\test\test1\Local 1.txt
      12:03:28,965 DEBUG [FileEventHandler:167] Upload C:/Users/liferay/Documents/liferay-sync/test/test1/Local 1.txt
      12:03:28,968 DEBUG [FileEventHandler:74] Received MODIFY -> C:\Users\liferay\Documents\liferay-sync\test\test1
      12:03:28,972 DEBUG [FileEventHandler:167] Upload C:/Users/liferay/Documents/liferay-sync/test/test1
      12:03:28,973 DEBUG [FileEventHandler:74] Received MODIFY -> C:\Users\liferay\Documents\liferay-sync\test\test1\Local 1.txt
      12:03:28,977 DEBUG [BaseEvent:82] Request URL /api/secure/jsonws/dlapp/update-folder
      12:03:28,977 DEBUG [FileEventHandler:157] Ignore C:/Users/liferay/Documents/liferay-sync/test/test1/Local 1.txt
      12:03:28,977 DEBUG [FileEventHandler:74] Received ADD -> C:\Users\liferay\Documents\liferay-sync\test\test1\Local 1
      12:03:28,983 DEBUG [FileEventHandler:167] Upload C:/Users/liferay/Documents/liferay-sync/test/test1/Local 1
      12:03:28,999 DEBUG [FileEventHandler:74] Received MODIFY -> C:\Users\liferay\Documents\liferay-sync\test\test1
      12:03:29,003 DEBUG [FileEventHandler:157] Ignore C:/Users/liferay/Documents/liferay-sync/test/test1
      12:03:29,010 DEBUG [BaseEvent:82] Request URL /api/secure/jsonws/dlapp/add-file-entry
      12:03:29,026 DEBUG [SyncEventManager:74] Server Online
      12:03:29,026 DEBUG [BaseEvent:82] Request URL /api/secure/jsonws/dlapp/add-folder
      12:03:29,129 DEBUG [SyncEventManager:74] Server Online
      12:03:29,129 DEBUG [SyncEventManager:74] Server Online
      12:03:33,527 TRACE [RemoteFileSystemMonitor:47] Checking for updates
      12:03:33,529 DEBUG [BaseEvent:82] Request URL /api/secure/jsonws/dlsync/get-dl-sync-update/company-id/10154/repository-id/10198/last-access-date/1340219008530
      12:03:33,547 DEBUG [GetDLSyncUpdateEvent:86] Received update {"DLSyncs":[

      {"companyId":10154,"createDate":1340218991000,"description":"","event":"update","fileId":10812,"fileUuid":"cd034315-e7ed-4d82-9f31-8efea0fc0e61","modifiedDate":1340219009000,"name":"test1","parentFolderId":0,"repositoryId":10198,"syncId":10814,"type":"folder","version":"-1"}

      ,

      {"companyId":10154,"createDate":1340219009000,"description":"","event":"add","fileId":10819,"fileUuid":"ce458209-a43c-472b-8ec4-1f53c71029a5","modifiedDate":1340219009000,"name":"Local 1","parentFolderId":10812,"repositoryId":10198,"syncId":10826,"type":"folder","version":"-1"}

      ,

      {"companyId":10154,"createDate":1340219009000,"description":"","event":"add","fileId":10817,"fileUuid":"9fd2cbab-81b4-4e6a-8ec5-195a58346fa1","modifiedDate":1340219009000,"name":"Local 1.txt","parentFolderId":10812,"repositoryId":10198,"syncId":10825,"type":"file","version":"1.0"}

      ],"lastAccessDate":1340219013536}
      12:03:33,553 TRACE [GetDLSyncUpdateEvent:94] Received update Last Access 1340219013536 [update=test1, add=Local 1, add=Local 1.txt]

      update test1 should not be there.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 47 weeks, 6 days ago

                  Packages

                  Version Package
                  1.0.3 RC4