Skip to content

Conversation

@bradenmacdonald
Copy link
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
Copy link
Contributor

sarina commented Aug 20, 2014

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

Copy link
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
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
Contributor

👍

@sarina
Copy link
Contributor

sarina commented Aug 20, 2014

👍 - 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
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