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

When exporting a dynamic data list in a CSV format, the chart shows the values instead of the options for Radio and Select fields.

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      If the user creates a list using the Radio and Select fields and export the list in CSV format, the radio and select fields show the value '2' or '3' instead of the option name (e.g. 'Core Engineer'.)

      1. Add a page and the DDLD portlet.
      2. Add a list called Employees.
      3. Add a definition:
        1. Drag and drop the Radio field into the build container.
        2. Rename it as Department.
        3. In the Options field -
          1. Option 1 = Core Engineer; enter 1 in the value column.
          2. Option 2 = QA Engineer; enter 2 in the value column.
          3. Option 3 = Support Engineer; enter 3 in the value column.
        4. Add a fourth option.
          1. Option 4 = Marketing; enter 4 in the value column.
        5. Save the field.
        6. Drag and drop the Select field into the build container.
        7. Rename it as Years Worked.
        8. In the Options field -
          1. Option 1 = 1-2; enter 1 in the value column.
          2. Option 2 = 3-5; enter 2 in the value column.
          3. Option 3 = 6-8; enter 3 in the value column.
        9. Add a fourth option.
          1. Option 4 = 8+; enter 4 in the value column.
        10. Save the field.
      4. Save the definition.
      5. Select this definition for the list.
      6. Add a record: QA Engineer, 3-5 .
      7. Go to the Control Panel> Dynamic Data Lists.
      8. Select this list.
      9. Click Actions> Export as CSV
      10. Open the CSV file. Instead of displaying QA Engineer, 3-5 under the Department and Years Worked columns, it displays "2" and "2" which were the values. See attached file.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 1 week ago