Menu

#353 Post-Python 3: Core Title deletion code doesn't check linked awards

v1.0 (example)
open
nobody
None
5
2026-08-03
2026-08-03
Ahasuerus
No

The core Title deletion code, i.e. the "delete" method in common/titleClass.py, doesn't check linked awards. It checks for linked publication records and aborts the deletion process if it finds any, but it doesn't check for linked award record.

Also note that this method is called from mod / ta_delete.py , which displays the following message if "delete" returns 0: "Title couldn't be deleted because it's associated with a publication. You will need to hard reject this submission". The message will need to be updated to account for scenarios where the deletion logic failed due to existing award records.

Note that this is a very rare scenario because both the submission creation page and the submission display page for Delete Title checks for linked award records. However, it's possible for an award record to be associated with a title record between the time the submission review page was displayed and the tile the "Approve" button was clicked.

Discussion

Anonymous
Anonymous

Add attachments
Cancel