ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
502 stars 290 forks source link

Programming exercises with deadline extension wrongfully displayed in 'Past' section #7678

Open chrisknedl opened 11 months ago

chrisknedl commented 11 months ago

Describe the bug

Scenario: The due date for an individual student has been extended, and the original deadline of the exercise has passed. However, the student still has time left because of their due date extension. But the programming exercise is still displayed in the 'Past' section in the student view.

To Reproduce

  1. Create programming exercise that is due in 5 minutes
  2. Participate in the exercise (Start exercise button)
  3. Extend the deadline for this participant by going to Course Management -> Exercises of the respective course -> Participations of the respective exercise -> enter a new individual due date that is some time in the future
  4. If the previous due date has passed and the individual due date has not yet passed, go to the exercise view of the course as the participant.
  5. The exercise is displayed in the 'Past' section, even though the extended due date has not yet passed.

Expected behavior

The exercise should be displayed in the Current section for the student that still has time to work on the exercise.

Screenshots

image Note that it says due date 'in 2 minutes'.

Which version of Artemis are you seeing the problem on?

6.7.0

What browsers are you seeing the problem on?

Safari

krusche commented 11 months ago

@florian-glombik can we handle this special case properly?