Closed
Bug 428440
Opened 17 years ago
Closed 15 years ago
move code to set new product and related groups from process_bug.cgi to new function $bug->set_all
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
DUPLICATE
of bug 556407
People
(Reporter: nelhawar, Assigned: nelhawar)
References
Details
Attachments
(2 obsolete files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070209 Fedora/1.5.0.9-3.fc6 Firefox/1.5.0.9 pango-text
Build Identifier:
moving setting new product for bugs and its related groups from process_bug.cgi to Bugzilla::Bug::set_all()
Reproducible: Always
Assignee | ||
Updated•17 years ago
|
Blocks: bz-bug-set-all
Assignee | ||
Comment 1•17 years ago
|
||
HI,, attached is the first part for moving code from process_bug.cgi to function set_all,, please note that I have left the variable $product_change used to check strict isolation is both places as it is needed in now in both places, later it will be deleted from process_bug.cgi.
Please review when you can.
Thanks,
Noura
Attachment #315010 -
Flags: review?(mkanat)
Attachment #315010 -
Flags: review?(LpSolit)
Assignee | ||
Comment 2•17 years ago
|
||
please ignore previous patch,, fixed an error related to $product_change variable
Attachment #315010 -
Attachment is obsolete: true
Attachment #315014 -
Flags: review?(mkanat)
Attachment #315014 -
Flags: review?(LpSolit)
Attachment #315010 -
Flags: review?(mkanat)
Attachment #315010 -
Flags: review?(LpSolit)
Assignee | ||
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•17 years ago
|
Assignee: general → nelhawar
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Updated•17 years ago
|
Target Milestone: --- → Bugzilla 4.0
Comment 3•17 years ago
|
||
Comment on attachment 315014 [details] [diff] [review]
v2 patch for moving set a new product for bugs and update its related groups to $bug->set_all
>Index: process_bug.cgi
>+ $product_change ||= $changed
Nit: missing semi-colon at the end of the line.
I didn't test the patch, but it looks good. Max, is it how you want set_all() to work?
Attachment #315014 -
Flags: review?(LpSolit) → review+
Comment 4•17 years ago
|
||
CC'ing Max in case he didn't see my last question.
Comment 5•17 years ago
|
||
Comment on attachment 315014 [details] [diff] [review]
v2 patch for moving set a new product for bugs and update its related groups to $bug->set_all
Yeah, for now. However, should_set shouldn't be necessary, and it would be nice to eliminate more code. But we can do that in a cleanup-type bug.
Attachment #315014 -
Flags: review?(mkanat) → review+
Updated•17 years ago
|
Flags: approval+
Comment 6•17 years ago
|
||
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi
new revision: 1.411; previous revision: 1.410
done
Checking in Bugzilla/Bug.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v <-- Bug.pm
new revision: 1.244; previous revision: 1.243
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Target Milestone: Bugzilla 4.0 → Bugzilla 3.4
Updated•15 years ago
|
Blocks: CVE-2009-3387
Comment 7•15 years ago
|
||
This patch has been backed out as it was responsible for bug 532493.
Severity: normal → enhancement
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: Bugzilla 3.4 → ---
Updated•15 years ago
|
Attachment #315014 -
Attachment is obsolete: true
Updated•15 years ago
|
Flags: approval+
Updated•15 years ago
|
Status: REOPENED → RESOLVED
Closed: 17 years ago → 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•