Comment 1 for bug 365092

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 365092] [NEW] Some bugs have BugMessage records with no corresponding MessageChunk records

On Wed, Apr 22, 2009 at 8:23 PM, Tom Berger<email address hidden> wrote:

> After introducing message hiding, we discovered that some bug messages
> don't have any chunks associated with them. That's strange, since
> foreign key constraints are supposed to ensure that this doesn't happen.

The constraints guarantee a BugMessage links to a Message. There are
no constraints guaranteeing a Message has at least one MessageChunk.

--
Stuart Bishop <email address hidden>
http://www.stuartbishop.net/