Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check CSV well-formedness on initial load #234

Open
Langenfeld opened this issue Nov 4, 2022 · 0 comments
Open

Check CSV well-formedness on initial load #234

Langenfeld opened this issue Nov 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Langenfeld
Copy link
Member

Langenfeld commented Nov 4, 2022

We had problems with ill formatted CSV imports sin the past such as an empty requirements Id, inconsistent line length (number of items in one row). Thus we want to check the input file for problems on loading:

  • are all rows equally long (as long as the top row with titles)
  • is the ID field (requirements ID chosen during import) empty
  • are all IDs unique
  • sluggify the IDs for file system usage
  • check if type and description are None and replace by empty string, as this may be empty, but shall not crash
@Langenfeld Langenfeld added the bug Something isn't working label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants