Closed
Bug 556407
Opened 15 years ago
Closed 15 years ago
Move the code for setting product and checking strict_isolation into Bugzilla::Bug::set_all
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
6.27 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•15 years ago
|
||
Okay, this moves product-setting into set_all and does a bit of refactoring.
For a long time I've had that strict_isolation check in process_bug at the end, and was really worried that customizers or extensions were going to do set_product without remembering to do the strict_isolation check, thus breaking strict_isolation. So, now I've made set_product into _set_product, and left a comment informing code-readers that they must use set_all in order to set the product, not set_all.
I also did some minor code cleanup in _set_product.
Assignee: create-and-change → mkanat
Status: NEW → ASSIGNED
Attachment #436363 -
Flags: review?(LpSolit)
Assignee | ||
Updated•15 years ago
|
Attachment #436363 -
Flags: review?(LpSolit) → review?(dkl)
Assignee | ||
Updated•15 years ago
|
Keywords: relnote
Whiteboard: [relnote that set_product is now private]
Assignee | ||
Updated•15 years ago
|
Blocks: bz-oldbugmove
Assignee | ||
Updated•15 years ago
|
No longer blocks: bz-oldbugmove
Comment 3•15 years ago
|
||
Comment on attachment 436363 [details] [diff] [review]
v1
Code looks good and works as expected. r=dkl
Attachment #436363 -
Flags: review?(dkl) → review+
Updated•15 years ago
|
Flags: approval?
Assignee | ||
Updated•15 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 4•15 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified process_bug.cgi
modified Bugzilla/Bug.pm
Committed revision 7193.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Whiteboard: [relnote that set_product is now private]
You need to log in
before you can comment on or make changes to this bug.
Description
•