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

Fix handling of user-related course form errors #224

Merged
merged 2 commits into from
Sep 18, 2015

Conversation

va7map
Copy link
Member

@va7map va7map commented Sep 17, 2015

These fixes address problems caused by deleted pseudonyms and invalid Computing IDs. Please see individual commit messages for details.

The query used to include deleted pseudonyms. If a user had an older
pseudonym with the same name but a different sis_user_id, the query
would return the incorrect sis_user_id, which would prevent the
instructor from being enrolled in the new course(s).

Fixes INC0107728
@patchin
Copy link

patchin commented Sep 17, 2015

You've misspelled characters as charaters in commit 676a010.

Previously, when a nonexistent Computing ID was entered, the form would
get stuck at the loading step.

Now, the form displays an error and allows the user to make corrections.

Test plan:
* Load the Start a New Course form
* Click "Create a Course for Someone Else"
* Enter a nonexistent Computing ID
* Verify that you get an error alert about the invalid Computing ID
* Click OK and verify that you see the previous screen
* Enter a valid Computing ID
* Verify that you are asked what type of course to create (as before)
@va7map va7map force-pushed the fix-course_form-user_handling branch from 676a010 to 8f259e7 Compare September 17, 2015 22:38
@va7map
Copy link
Member Author

va7map commented Sep 17, 2015

Good catch! I've replaced 676a010 with 8f259e7.

@patchin
Copy link

patchin commented Sep 18, 2015

@va7map Thanks! 👍

@grahamb
Copy link
Member

grahamb commented Sep 18, 2015

🌈

grahamb added a commit that referenced this pull request Sep 18, 2015
Fix handling of user-related course form errors
@grahamb grahamb merged commit 69abeb4 into sfu:edge Sep 18, 2015
@va7map va7map deleted the fix-course_form-user_handling branch September 18, 2015 23:43
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.

3 participants