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

wth - (SPARCFulfillment) Make the Klok Import Resource Format Rule St… #247

Merged
merged 1 commit into from Nov 6, 2017

Conversation

wtholt
Copy link
Contributor

@wtholt wtholt commented Oct 27, 2017

…ricter

Please make the importing rule for Klok resource to be stricter, so that the ones do not follow the format of ***( ) would error out and also cause the Klok entries to error out and show up in the proof report and import report.

Currently, klok/person.rb is extracting NetID from people.name inside the brackets, however, when there are no brackets, the last word of people.name is used as the NetID. That's causing issues because there could be a lot of people with the same last name and we are grabbing the wrong person for fulfillment.

[#147196653]

Story - https://www.pivotaltracker.com/story/show/147196653

…ricter

Please make the importing rule for Klok resource to be stricter, so that the ones do not follow the format of  ******(*** ) would error out and also cause the Klok entries to error out and show up in the proof report and import report.

Currently, klok/person.rb is extracting NetID from people.name inside the brackets, however, when there are no brackets, the last word of people.name is used as the NetID. That's causing issues because there could be a lot of people with the same last name and we are grabbing the wrong person for fulfillment.

[#147196653]

Story - https://www.pivotaltracker.com/story/show/147196653
@Stuart-Johnson Stuart-Johnson merged commit 93bd820 into master Nov 6, 2017
@Stuart-Johnson Stuart-Johnson deleted the wth-klok-import branch November 6, 2017 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants