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

Cannot migrate documents with non-zero classNameId's

    Details

      Description

      Documents with non-zero classNameId's (whether this is done through modification or when created) will not be migrated when migrating the document library. With the exception of images, MB attachments, and Wiki attachments, these documents are kept from being migrated by a constraint checked during migration.

      Steps to reproduce:
      1. Create a document under default file system store
      2. Modify the classnameid and classPK in DLFileEntry table to a number other than 0, such as 11111
      3. Perform data migration to AdvancedFileSystem store or to anything different from the current store
      4. Restart server after updating portal-ext and attempt to download the file

      Expected results:
      File is available
      Actual results:
      File returns "resource not found"

      BRANCH
      Reproduced
      aad5f50ff011e5ce826b696e0da7eb077994d3f4
      MASTER
      Reproduced
      eef7ece1008653c0e31c5b826e726a8f5e048bb5

        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:
                  3 years, 27 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP5
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  Master