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

After import process, the date custom field displays a wrong default value

    Details

      Description

      Steps to reproduce:

      [ On 6.1.X EE ]

      1. Go to Control Panel
      2. On left menu, go to the Portal section and click on Custom Fields
      3. Edit the Page resource
      4. Add a Custom Field of type Date with any name
      5. Edit this created Custom Field and set a default value to it
      6. On left menu, go to the second section (usually named Liferay) and click on Site Pages
      7. Click on Export
      8. Import the LAR file created by the export of the previous step

      [ On 6.2.X EE ]

      1. In the Dockbar, go to Admin > Control Panel
      2. On the Configuration section, click on Custom Fields
      3. Edit the Page resource
      4. Add a Custom Field of type Date with any name
      5. Edit this created Custom Field and set a default value to it
      6. Go back to Control Panel
      7. On the Sites section, click on Sites
      8. Click on the site named Liferay
      9. Click on Export
      10. Import the LAR file created by the export of the previous step

      [ On Master ]

      1. Open the left menu and click on Control Panel
      2. Click on Configuration > Custom Fields
      3. Edit the Page resource
      4. Add a Custom Field of type Date with any name
      5. Edit this created Custom Field and set a default value to it
      6. Again, on the left menu, click on Sites
      7. Click on the site named Liferay
      8. Click on Publishing Tools > Export/Import
      9. Click on Export
      10. After the export is finished, click on Publishing Tools > Export/Import
      11. Import the LAR file created by the export

      Expected result:
      The date custom field displays the default value configured before the import process.

      Actual result:
      The date custom field displays a default value different from the one configured before the import process.

        Attachments

        1. fixed.png
          fixed.png
          10 kB
        2. reproduced.png
          reproduced.png
          6 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 44 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 Alpha 2