Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTP-4110 Fix finalise submissions after deadline #45

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

leonstr
Copy link
Contributor

@leonstr leonstr commented Jan 7, 2025

When the coursework deadline has passed submissions are finalised in the database, however the previous cached value was shown to teachers. We now clear this cache after updating the database.

Behat test submissions_auto_finalisation.feature has been updated to additionally test for this by viewing view.php before the deadline has passed to populate the cache, then reloading after finalising submissions, checking for the expected status.

When the coursework deadline has passed submissions are finalised in
the database, however the previous cached value was shown to teachers.
We now clear this cache after updating the database.

Behat test submissions_auto_finalisation.feature has been updated to
additionally test for this by viewing view.php before the deadline has
passed to populate the cache, then reloading after finalising
submissions, checking for the expected status.
@leonstr leonstr self-assigned this Jan 7, 2025
@aspark21 aspark21 merged commit 59a4194 into main Jan 8, 2025
1 of 13 checks passed
@aspark21 aspark21 deleted the CTP-4110-finalisesubmissions branch January 8, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants