BuildQueue.destroySelf erroneously assumes that all jobs are Storm objects
Bug #549340 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
William Grant |
Bug Description
BuildQueue.
Store.
That doesn't work for TranslationsTem
Related branches
lp:~wgrant/launchpad/bug-549340-fix-buildqueue-destruction
Rejected
for merging
into
lp:launchpad
- Julian Edwards (community): Disapprove
-
Diff: 152 lines (+52/-2)7 files modifieddatabase/schema/security.cfg (+1/-1)
lib/lp/buildmaster/model/buildqueue.py (+1/-1)
lib/lp/code/model/sourcepackagerecipebuild.py (+4/-0)
lib/lp/code/tests/test_sourcepackagerecipebuild.py (+18/-0)
lib/lp/soyuz/interfaces/buildfarmbuildjob.py (+6/-0)
lib/lp/soyuz/model/buildpackagejob.py (+5/-0)
lib/lp/translations/tests/test_translationtemplatesbuildjob.py (+17/-0)
Changed in soyuz: | |
status: | New → In Progress |
assignee: | nobody → William Grant (wgrant) |
To post a comment you must log in.
On Saturday 27 March 2010 04:42:06 you wrote: destroySelf does this: specific_ job).remove( specific_ job) plateBuildJobs, which are not job.destroySelf () may be better.
> Public bug reported:
>
> BuildQueue.
>
> Store.of(
>
> That doesn't work for TranslationsTem
> themselves Storm objects (their BranchJob is).
> specific_
Hmm.
We should really be using Storm objects for any new database objects, why is plateBuildJob not so?
TranslationsTem