Comment 10 for bug 720147

Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 720147] Re: Subscription to New or Incomplete bugs is allowing just-filed bugs of all statuses through

On 28 April 2011 20:14, Gavin Panella <email address hidden> wrote:
> On 28 April 2011 19:33, Graham Binns <email address hidden> wrote:
> [...]
>> I thought the same, so I've tried using transitionTo*() in createBug()
>> and it seems not to have broken anything.
>
> D'oh, of course; I always look for the hard way to do things :-/

Well, a thought did just pop up, which is that we need to check that
the user can actually change the various properties of a task *before*
we create that task, otherwise we end up in the interesting position
of having a Bug with no BugTasks, which is going to cause OOPSes.

Not sure how best to solve that one, other than moving
canTransitionTo*() off of IBugTask... except there are some cases
where it will actually need a BugTask to operate.

Ech, this could be knotty.