Comment 2 for bug 408738

Revision history for this message
Stuart Bishop (stub) wrote :

BugActivity.person is missing its foreign key constraint declaration.

This means that the person merge code doesn't know about this table, nor does the Person remover.

It looks like we have removed Person records that were referenced in BugActivity. In these cases, BugActivity.personID will contain an integer but BugActivity.person will return None.

We need to add the missing foreign key constraint. We need to repair the data.