Skip to content

Friendly error if invalid student is entered for due date extension - #4906

Merged
sarina merged 1 commit into
openedx:masterfrom
bradenmacdonald:fix-idde-invalid-student
Aug 21, 2014
Merged

Friendly error if invalid student is entered for due date extension#4906
sarina merged 1 commit into
openedx:masterfrom
bradenmacdonald:fix-idde-invalid-student

Conversation

@bradenmacdonald

Copy link
Copy Markdown
Contributor

This minor commit fixes another problem with individual due date extensions mentioned to me by @sarina in #4868: Whenever an invalid student identifier was entered into any of the "student email/username" fields on the instructor "extensions" page, no error would be shown.

With this change, the instructor will get the friendly error message "Could not find student matching identifier"

This was done for OpenCraft ( cc @antoviaque ) and falls under their organization contributor agreement.

@sarina

sarina commented Aug 20, 2014

Copy link
Copy Markdown
Contributor

@carsongee would you mind taking a look at this small PR when you get a chance?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When making internationalized strings, please use variable names instead of placeholders to facilitate correct translation. Please see https://github.com/edx/edx-platform/blob/master/docs/en_us/developers/source/i18n.rst#use-named-placeholders

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed :)

@carsongee

Copy link
Copy Markdown
Contributor

👍

@sarina

sarina commented Aug 20, 2014

Copy link
Copy Markdown
Contributor

👍 - could you please squash to 1 commit? Then I will merge.

@bradenmacdonald
bradenmacdonald force-pushed the fix-idde-invalid-student branch from b008d32 to c3abf32 Compare August 21, 2014 00:11
@bradenmacdonald

Copy link
Copy Markdown
Contributor Author

Sure thing. Now squashed and rebased.

sarina added a commit that referenced this pull request Aug 21, 2014
Friendly error if invalid student is entered for due date extension
@sarina
sarina merged commit 5215e87 into openedx:master Aug 21, 2014
@bradenmacdonald
bradenmacdonald deleted the fix-idde-invalid-student branch September 8, 2014 16:39
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