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

Dynamic Data List - some types aren't exported correctly to csv and xml

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3

      Description

      1. Empty numeric fields are exported as 0.
      2. Date fields are exported as Thu Jan 01 00:00:42 GMT 1970.

      Reproduction:
      1. Create a DDL definition with a Date field and Number/Decimal/Integer field.
      2. Create a new DDL with this definition.
      3. Add a record to the list with with any date and leave the numeric fields empty.
      4. Go back to the DLL lists and click on the list's action button -> Export -> CVS or XML
      Click on the OK button

      Result:
      a) date -> saved in portal: "2/10/15", generated in the CSV/XML: "Thu Jan 01 00:00:42 GMT 1970"
      b) decimal, integer, number -> in Liferay: "no value saved"; in CSV/XML: all have values 0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                norbert.kocsis Norbert Kocsis
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 11 weeks, 1 day ago