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

"Parent file missing on portal" error when deleting and recreate a folder or file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2 GA3
    • Fix Version/s: 1.2.3 GA4
    • Component/s: General
    • Labels:
      None
    • Affects Portal Version/s:
      6.2.10 EE GA1, 6.1.30 EE GA3, 6.1.20 EE GA2

      Description

      A "parent file missing on portal" error is shown when deleting and recreating a folder.

      The following exeception is also shown at server side:
      Caused by: com.liferay.portlet.documentlibrary.NoSuchFolderException: No DLFolder exists with the primary key 17714

      Steps to reproduce:

      1. Configure Liferay Sync and synchronize repository
      2. At liferay server side:
        1. Create a folder named "test"
        2. Inside add a file called "test.txt"
      3. At client sync side: Wait to synchronize the creation
      4. At liferay server side:
        1. Delete the folder "test"
      5. At client sync side: Wait to synchronize the deletion
      6. At liferay server side:
        1. Create a new folder named "test" (again)
        2. Inside add a file called "test.txt" (again)
      7. At client sync side:
        1. The "parent file missing on portal "will be shown at desktop and "No DLFolder exists with the primary key" will be shown at portal log
        2. Try upload any file using liferay sync
        3. The file will not be uploaded and the same error will be displayed repeatedly

        Attachments

          Activity

            People

            Assignee:
            support-qa Support QA
            Reporter:
            jorge.diaz Jorge Diaz
            Participants of an Issue:
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 6 weeks, 1 day ago

                Packages

                Version Package
                1.2.3 GA4