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

CSV export endpoint returning unexpected results #99

Open
JAFrederick opened this issue Jun 2, 2020 · 0 comments
Open

CSV export endpoint returning unexpected results #99

JAFrederick opened this issue Jun 2, 2020 · 0 comments
Labels

Comments

@JAFrederick
Copy link

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.

@JAFrederick JAFrederick added the bug label Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant