Closed Bug 271758 Opened 20 years ago Closed 14 years ago

Noresolveonopenblockers doesn't allow removing the dependency when fixing

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.18
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: jouni, Assigned: LpSolit)

References

Details

Attachments

(1 file)

When noresolveonopenblockers is set to on and you have blockers on a bug, you
cannot simultaneously remove the last blocking relationship and mark the bug as
fixed. Instead, you have to remove the dependency first and then fix the bug
separately.
Flags: blocking2.18?
As much as I'd love to see this in 2.18, I think this is going to require too
big of an overhaul to process_bug.cgi to fix to fit the low-risk criteria to go
into the 2.18 branch.  I'm pretty sure the only way to handle this is to move
the dependency processing code earlier in the process than the status change
processing code.
Flags: blocking2.18? → blocking2.18-
*** Bug 279943 has been marked as a duplicate of this bug. ***
QA Contact: mattyt-bugzilla → default-qa
Assignee: myk → create-and-change
Likewise, if you have a bug that is already marked RESOLVED and then add open blockers with noresolveonopenblockers set, it will prevent you from making any future updates to the bug. At the very least we should not allow open bugs to be added as blockers to resolved bugs if noresolveonopenblockers is on.
(In reply to comment #3)
> Likewise, if you have a bug that is already marked RESOLVED and then add open
> blockers with noresolveonopenblockers set, it will prevent you from making any
> future updates to the bug.

This is bug 565314
Attached patch patch, v1Splinter Review
set_all() first sets dependencies, so $self->dependson already contains the updated list of blocking bugs.
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Attachment #472667 - Flags: review?(mkanat)
Target Milestone: --- → Bugzilla 4.0
Comment on attachment 472667 [details] [diff] [review]
patch, v1

Looks great and is a nice cleanup! :-)
Attachment #472667 - Flags: review?(mkanat) → review+
Flags: approval4.0+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Bug.pm
modified template/en/default/global/user-error.html.tmpl
Committed revision 7466.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/
modified Bugzilla/Bug.pm
modified template/en/default/global/user-error.html.tmpl
Committed revision 7397.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: