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

Document folders created in Liferay 6.1 GA2 do not display a folder creator after upgrading to a later version of Liferay

    Details

      Description

      Description
      Any document folders that were created in Liferay 6.1 do not display an author/creator after being upgraded to DXP. This happens because of a bug in Liferay 6.1 that causes the userName column to be null when a folder is created. The fix for this will be to add a new upgrade process which fills in null userName columns in the DLFolder table.

      Steps to reproduce

      1. Start up a clean Liferay Portal 6.1 GA2 bundle and log in as the admin user.
      2. Navigate to Documents and Media.
      3. Create a few folders.
      4. Stop Liferay and upgrade to the version of Liferay you are testing on.
      5. After the upgrade completes, navigate to Documents and Media.
      6. Change the view mode to "Descriptive".

      Expected Result: The text above each folder would read "[Admin User Name], modified [Time] ago".
      Actual Result: The text above each folder reads ", modified [Time] ago".

      Issue affects master and 7.0.x. Issue is not as pertinent in 6.2.x because 6.2.x completely omits the text if the userName is null, rather than displaying a phrase with an obviously missing word. It would still be nice to backport the verify process to 6.2.x, though.

        Attachments

        1. 70168_2.png
          70168_2.png
          130 kB
        2. 70168.png
          70168.png
          95 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 28 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP11
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master