sakai icon indicating copy to clipboard operation
sakai copied to clipboard

SAK-49527 Assignments: Extension submit btn is disabled if instructor…

Open mylescarey2019 opened this issue 1 year ago • 2 comments

… 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.

mylescarey2019 avatar Jan 31 '24 00:01 mylescarey2019

Myles any chance you wouldn't mind writing a unit test for the canSubmit method?

ern avatar Feb 13 '24 17:02 ern

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

mylescarey2019 avatar Feb 13 '24 21:02 mylescarey2019

@ern I spent an hour trying to mock this correctly and could not. please take it

ottenhoff avatar Mar 18 '24 19:03 ottenhoff

@mylescarey2019 closing this, as I've submitted another related PR.

ern avatar Mar 21 '24 15:03 ern