Description
When an assignment has delegated grading and anonymous grading enabled with an attached grading rubric, attempting to post anonymized grades initiates the deanonymization process. However, the process fails due to a foreign key constraint violation error, causing student submissions to remain anonymized in the gradebook.
Symptoms
Observe an error similar to the following in the bb-sqlerror-log:
2026-05-19 11:00:46 +0100 - [ERROR] DELETE FROM evaluation_entity WHERE pk1 = failed. - org.postgresql.util.PSQLException: ERROR: update or delete on table "evaluation_entity" violates foreign key constraint "rubric_link_fk2" on table "rubric_link"
Steps to Replicate
Log in to Blackboard Learn as an Instructor
Open an Ultra course
Create an assignment and attach a grading rubric
Enable Anonymous Grading for the assignment
Enable Delegated Grading and assign more than two graders
Log in as a student and submit the assignment
As a delegated grader, grade the submission anonymously using the attached rubric
Log back in as the instructor and open Reconcile Grades for the student's attempt
Submit the reconciled grade, including rubric feedback
Post all grades
Observed Behavior:
The student's submission remains anonymized.
Expected Behavior:
The student's submission should be automatically deanonymized.
Affected Versions
Learn 4000.17.0
Learn 4000.19.0
Learn 4000.21.0
Target Release
Future Reference
