Skip to content

Commit

Permalink
inline comment added from b.fein review
Browse files Browse the repository at this point in the history
  • Loading branch information
az108 committed Nov 3, 2024
1 parent 50510ce commit cbafc5b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,10 @@ public long getMaxCountForExercise(long exerciseId) {
* overridden or updated. The deletion is performed only for feedback items with a non-null ID and an associated long feedback text.
* <p>
* This approach reduces the need for individual deletion calls and performs batch deletion in a single database operation.
* <p>
* **Note:** This method should only be used for manually assessed submissions, not for fully automatic assessments, due to its dependency on the
* {@link Result#updateAllFeedbackItems} method, which is designed for manual feedback management. Using this method with automatic assessments could
* lead to unintended behavior or data inconsistencies.
*
* @param feedbackList The list of {@link Feedback} objects for which the long feedback texts are to be deleted. Only feedback items that have long feedback texts and a
* non-null ID will be processed.
Expand Down

0 comments on commit cbafc5b

Please sign in to comment.