Users with deadline extensions may not be able to submit feedback responses in V9 #12774
Labels
c.Bug
Bug/defect report
committers only
Difficult; better left for committers or more senior developers
The V9 version of
verifySessionOpenExceptForModeration
checks if the session is open, but it may not be checking if the session is open given a deadline.teammates/src/main/java/teammates/ui/webapi/BasicFeedbackSubmissionAction.java
Lines 313 to 319 in 5b3a96f
Note that the code is similar to the pre-V9 version, but the difference is that
FeedbackSessionAttributes::isOpened
checks the deadline extension, whileteammates.storage.sqlentity.FeedbackSession::isOpened
does not check the deadline extension.teammates/src/main/java/teammates/common/datatransfer/attributes/FeedbackSessionAttributes.java
Lines 330 to 333 in 5b3a96f
teammates/src/main/java/teammates/storage/sqlentity/FeedbackSession.java
Lines 466 to 469 in 5b3a96f
(The bug was spotted in the code, not in production, so the following does not apply.)
- Environment:Steps to reproduceExpected behaviourActual behaviourAdditional infoThe text was updated successfully, but these errors were encountered: