OOPS on BadStateTransition when reviewing code by mail
Bug #326056 reported by
Paul Hummer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Aaron Bentley |
Bug Description
This is a weird edge case, but one that I think is worth filing a bug for.
So I did a code review for Entertainer and sent it, then immediately merged the branch into trunk and pushed up to launchpad. The scanner apparently marked the BMP as merged before my review with ' status approved' could get handled. This resulted in this oops: OOPS-1133CEMAIL5
If nothing else, maybe we should just catch the exception and silently pass an changing the status if it's in a state that doesn't make sense to go "back" to approved for (like non-final states).
Recently: OOPS-1138CEMAIL12, OOPS-1192CEMAIL4
Changed in launchpad-bazaar: | |
importance: | Undecided → Low |
status: | New → Triaged |
description: | updated |
description: | updated |
Changed in launchpad-code: | |
assignee: | nobody → Aaron Bentley (abentley) |
status: | Triaged → Fix Committed |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Hummer wrote: /devpad. canonical. com/~matsubara/ oops.cgi/ 2009-02- 06/CEMAIL5
> So I did a code review for Entertainer and sent it, then immediately
> merged the branch into trunk and pushed up to launchpad. The scanner
> apparently marked the BMP as merged before my review with ' status
> approved' could get handled. This resulted in this oops:
> https:/
It's possible for something to be merged that is not approved, and it's
possible for something to be approved that isn't merged. So I think
that our model is slightly wrong. The ideal model would have two status
flags:
code review status: inactive, pending, approved, disapproved
merge status: inactive, queued, merged
If our model reflected this, then setting the review status to approved
would not change the merge status, and we could not get errors like this.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkm MWt0ACgkQ0F+ nu1YWqI22EACfad +Ksy0foLEJTuLVc Fa+L2BP JnJ78bJ99Mg+ HR69L
ULYAn0GNmRB3Ru6
=itMw
-----END PGP SIGNATURE-----