Skip to content

StudentsImporter: Improve importing for house, sped liaison, counselor and update validations#2217

Merged
kevinrobinson merged 3 commits intomasterfrom
patch/validations-for-house-sped-liaison-counselor
Oct 29, 2018
Merged

StudentsImporter: Improve importing for house, sped liaison, counselor and update validations#2217
kevinrobinson merged 3 commits intomasterfrom
patch/validations-for-house-sped-liaison-counselor

Conversation

@kevinrobinson
Copy link
Copy Markdown
Contributor

Who is this PR for?

educators, primarily in Bedford

What problem does this PR fix?

There are some special cases in Bedford around these values, and in the process of working around them, I found that there are many empty string values and no validations on these.

What does this PR do?

Before this PR, I manually patched the Student records in each district to set empty strings or "N/A" for sped_liaison in Bedford to nil.

This PR adds validations enforcing that. It also moves the parsing code for sped_liaison and counselor into PerDistrict. And it disables importing sped_liaison for Bedford, since these values are all set to "N/A" right now. Even though we are getting data in this field, it's not meaningful, so we effectively are not receiving this data at all and no value in importing it.

Checklists

Which features or pages does this PR touch?

  • Core

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

  • Included specs for changes
  • Manual testing made more sense here

@kevinrobinson
Copy link
Copy Markdown
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit b7b5fb5 into master Oct 29, 2018
@kevinrobinson kevinrobinson deleted the patch/validations-for-house-sped-liaison-counselor branch October 29, 2018 21:47
@kevinrobinson kevinrobinson changed the title StudentsImporter: Improve improting for house, sped liaison, counselor and update validations StudentsImporter: Improve importing for house, sped liaison, counselor and update validations Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant