Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

CSV export endpoint returning unexpected results #99

@JAFrederick

Description

@JAFrederick

CSV exports are currently not functional. There are two issues preventing the system from properly returning a CSV.

  1. Proper handling of NULL values: The code base constantly needs the configuration file to function. When the CSV files are generated, it returns all possible columns within the config file (data.yml) regardless of requested fields. When creating rows, we loop through all of the return objects and remove columns with NULL values. This appears to be an attempt to remove the useless columns that were not requested in the return. This filtering also removes NULL values for requested fields. The CSV generation library doesn’t handle the uneven data structure well and outputs an unexpected return based on whatever elements are present in all rows.

  2. Nested program data is not properly handled during the CSV export.

Both issues need to be addressed in order to successfully return a CSV.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions