Package deletions result in internal server error
-
I have described the bug in complete detail in the Description section. -
I have specified steps in the Reproduction section. -
I have included any logs related to the bug in the Logs section. -
I have included the versions which are affected in the Version(s) section.
Description
Whenever a package is attempted to be deleted, an internal server error is being raised.
Reproduction
Both the makedeb-makepkg-beta
and makedeb-makepkg-alpha
packages on the MPR are experiencing the issue when clicking the Delete package
button.
Logs
Server logs show the following:
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1048, "Column 'PackageBaseID' cannot be null")
[SQL: UPDATE `PackageComaintainers` SET `PackageBaseID`=%s WHERE `PackageComaintainers`.`UsersID` = %s AND `PackageComaintainers`.`PackageBaseID` = %s]
[parameters: (None, xx xx)]
Viewing the actual database shows the packages have PackageBaseID
set, so I'm thinking something is getting whacked while generating a query or something.
Version(s)
Edited by Hunter Wittenborn