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
    • Similar Issues:
      Show 4 results 

      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

        Activity

        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        Values of some types are not exported correctly to csv and xml.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 432f440a48b53e789ebd972ab2279f21b25a24a3.

        Values of some types are exported correctly.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Values of some types are not exported correctly to csv and xml. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 432f440a48b53e789ebd972ab2279f21b25a24a3. Values of some types are exported correctly.
        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 37ecd9207784af840a1c32ef9f5bcf7bff5f4b86.

        Values of some types are exported correctly.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 37ecd9207784af840a1c32ef9f5bcf7bff5f4b86. Values of some types are exported correctly.

          People

          • Assignee:
            Pani Gui (Inactive)
            Reporter:
            Norbert Kocsis
            Recent user:
            Hai Yu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 49 weeks, 2 days ago

              Development

                Structure Helper Panel