Blueprints in progress can't depend on completed blueprints

Bug #140533 reported by Barry Warsaw
10
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Christian Reis

Bug Description

I created a new blueprint called team-mailing-lists-membership-db and I wanted to set its dependency to team-mailing-lists-launchpad-xmlrpc but because the latter blueprint has already been completed, I get a "Constraint not satisfied" error. Other than the error message being fairly unhelpful, you should be able to link a blueprint in progress to a completed blueprint.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This just bit me too, it's very annoying.

And describing the message as "fairly unhelpful" is extraordinarily generous.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I _think_ what's needed to fix this is for SpecificationDepCandidatesVocabulary to pass SpecificationFilter.ALL to self.context.target.specifications() in _all_specs.

In the mean time, this seems Very Wrong(tm):

>>> from zope.schema.vocabulary import getVocabularyRegistry
>>> vr = getVocabularyRegistry()
>>> [spec] = Specification.selectBy(name='revu')
>>> v = vr.get(spec, 'SpecificationDepCandidates')
>>> [cand] = v.search('usplash')
>>> cand in v
False

Changed in blueprint:
status: New → Confirmed
Changed in blueprint:
assignee: nobody → intellectronica
milestone: none → 1.1.12
Changed in blueprint:
milestone: 1.1.12 → 1.2.1
Changed in blueprint:
milestone: 1.2.1 → 1.2.2
Changed in blueprint:
milestone: 1.2.2 → 1.2.3
Changed in blueprint:
milestone: 1.2.3 → none
Christian Reis (kiko)
Changed in blueprint:
assignee: intellectronica → kiko
milestone: none → 2.1.8
status: Confirmed → In Progress
Revision history for this message
Christian Reis (kiko) wrote :

Ah, patch in hand. Cool!

Revision history for this message
Christian Reis (kiko) wrote :

Landed in RF 6785, enjoy on edge shortly.

Changed in blueprint:
status: In Progress → Fix Committed
Changed in blueprint:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.