-
-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
The description of the achievement item says that "the test must still be open for this to work", but the code checks if the set closed less than a day ago:
webwork2/lib/WeBWorK/AchievementItems/ExtendDueDateGW.pm
Lines 20 to 25 in 3678e21
| sub can_use ($self, $set, $records) { | |
| return | |
| $set->assignment_type =~ /gateway/ | |
| && $set->set_id !~ /,v\d+$/ | |
| && between($set->open_date, $set->due_date + ONE_DAY); | |
| } |
I was able to apply the item to a test that closed less than a day ago, and everything appears to work. Can I just remove that statement?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels