sakai
sakai copied to clipboard
SAK-49527 Assignments: Extension submit btn is disabled if instructor…
… used 'Save' as opposed to 'Save and Release to Student'
Assignment extensions should not require that the Instructor to 'Return' the assignment to the student, selecting 'Save' should be sufficient. Currently it is required to use 'Save and Release to Student'.
This pull request provides the ability to create an 'Exception' as an accommodation similar to the capability in Tests & Quizzes using 'Save'. This allows the student to see the extension date without the potentially confusing status of 'Returned' and to see the extension date as soon as the instructor creates the extension, be that before or after the assignment's normal due date.
Myles any chance you wouldn't mind writing a unit test for the canSubmit method?
Earl,
I have zero experience writing unit tests - I am assuming within a java framework. So I don't think I pull that off.
- Myles
@ern I spent an hour trying to mock this correctly and could not. please take it
@mylescarey2019 closing this, as I've submitted another related PR.