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

Upgrade from 6.1 to 6.2 causes DLFileEntry contain NULL values in ClassNameId colum what corrupts ActionableDynamicQuery results



      Steps to reproduce

      1. Set up Liferay 6.1
      2. Use the following locale settings:en_GB,de_DE,fr_FR,en_US
      3. Start the Portal
      4. Go to Control Panel, switch to Global scope, and go to Documents and Media
      5. Add some documents
      6. Stop the Portal and set up Liferay 6.2 GA1 SP1 with the same configuration and doc library
      7. Start the portal to upgrade the DB
      8. In 6.2, go to Control Panel -> Gloval -> Documents and Media
      9. Export Documents and Media
        Result: The lar file will be very small, and the documents will be missing

      The root cause is that during the export process the underlying ActionableDynamicQuery defines "equals 0" criteria on the newly added classNameId column in DLFileEntry table, but by default the new column has NULL values instead of 0.


          Issue Links



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


                • Created:
                  Days since last comment:
                  6 years, 12 weeks, 6 days ago


                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1