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

        Issue Links

          Activity

          Hide
          pani.gui 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 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 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 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 Pani Gui (Inactive)
              Reporter:
              norbert.kocsis 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:
                3 years, 40 weeks, 4 days ago

                Development

                  Subcomponents