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

When trash is disabled, deleting files on server does not delete local files on client

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Connector-4.1.3
    • Fix Version/s: Connector-4.1.4
    • Component/s: Sync Connector
    • Labels:
      None

      Description

      See LPP-31308 for details and reproduction steps.

      Summary of issue:

      When a DLFileEntry is deleted on the server, its associated Resources are deleted here. This triggers Sync Connector's ResourcePermissionModelListener.onBeforeRemove(...) which updates the modifiedTime here.

      After the DLFileEntry is deleted, the code will hit SyncDLObjectLocalServiceImpl.addSyncDLObject(...) as expected w/ a "delete" event, but now the database's modifiedTime is greater so the method exits due to the future time check here.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 8 weeks, 6 days ago

                Packages

                Version Package
                Connector-4.1.4