Comment 3 for bug 384309

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [Bug 384309] Re: Changing project fails if milestone is set

On Sat, Jun 06, 2009 at 05:10:24PM -0000, Tom Berger wrote:
> The milestone isn't being cleared and when trying to update a database
> constraint is triggered. The fix is to clear the milestone when the bug
> target changes.

We do clear the milestone automatically. Sometimes, though, this bug is
triggered. This is the first time I've seen this bug triggered for about
a year now. I think we have a bug reported about this.

I suspect that there is a race condition when the actual SQL commands
are sent, causing the target column to be changed before the milestone
is cleared.