Skip to content

Due date must be after reduced scoring date even if reduced credit is not enabled for a set #2581

Closed
@dlglin

Description

@dlglin

To reproduce:

Enable reduced scoring for a course. Create a set with reducing scoring disabled, and set the reduced scoring date to October 1. Now try to set the due date to September 30. When you click "done" on the date picker the due date reverts to October 1 since the javascript forces the due date to be no earlier than the reduced scoring date.

I almost got burned by this. If you're not paying attention it's easy to miss that the date you just set got changed to something else.

This might be fixable with some more complicated logic in the js (if reduced scoring is set to no, then don't check that the due date is after the reduced scoring date, but then if reduced scoring is subsequently changed to yes, then check the dates).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions