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

VerifyDynamicDataMapping shortens filename

Details

    Description

      Steps to reproduce

      1. Take a 6.1.30 bundle.
      2. Create a DDL definition and put a File Upload field on it.
      3. Create a DDL list based on this definition and add a record uploading a file. (e.g.: file.txt)
      4. Upgrade this bundle to 6.2.10.
      5. Check the title attribute of dlfileentry table.

      Result: title is "file".
      Expected: title is "file.txt".

      6.2.x commit: 2560ca5ebaed683f3173b12d7fb7076f566a9f87
      reproduced (Cannot be tested without LPS-56708.)
      master commit: 2ce54ae99a115376d0066da7e121197c559cff94
      fixed (The logic was moved from VerifyDynamicDataMapping.addFileEntry to UpgradeDynamicDataMapping.addDLFileEntry without the erroneous part.)

      Attachments

        Issue Links

          Activity

            People

              mark.jin Mark Jin (Inactive)
              istvan.sajtos Istvan Sajtos
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 18 weeks, 3 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE