Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-59294

After upgrading from 6.1.30 to 6.2 the treePaths will be null

    Details

      Description

      Reproduction steps:
      1.) Start a vanilla 6.1.30 bundle..
      2.) Go to Control Panel --> Documents and Media
      3.) Create a folder "test" and upload a 3 basic documents (titles: "test2" "test3" and "ert") to this folder.

      4.) Copy the document_library folder to a 6.2 instance, connect it to the 6.1 database through portal-ext.properties and start the bundle.
      5.) Search for test in the Documents and Media: the folder is found but the documents are not shown (even after performing a reindex on all search indexes)

      Experienced behavior: The uploaded documents are not found

      Expected behavior: The uploaded documents should be found

      The cause of the behavior is that there's no treePath column in the dlfileentry table on 6.1.30 and when you upgrade to 6.2 the treePath's value will be null in case of those documents which were uploaded before the upgrade. If you search for the documents in the Search portlet the documents are found.

      Same issue for DLFileShortcuts, DLFileVersions and BookmarkEntries.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 30 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE