Closed
Bug 177207
Opened 22 years ago
Closed 21 years ago
Support dontchange generically in process_bug
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kiko, Assigned: nobody)
Details
Attachments
(1 file)
1.58 KB,
patch
|
Details | Diff | Splinter Review |
Today the dontchange parameter is only supported if mass changes are being
performed (in other words, if "id" is set, dontchange does nothing).
This makes it a bit less straightforward to write an external application to
interact with process_bug, and makes the conditionals more complicated, among
other things, and I don't really see a good reason why it shouldn't be simplified.
Patch coming up.
Reporter | ||
Comment 1•22 years ago
|
||
I've coded up a quick fix to this, and it worksforme. Gerv, you said you might
have a look at this?
Comment 2•22 years ago
|
||
Does this really work for you? :-)
+if (($::FORM{'id'} && $::FORM{'product'} ne $::oldproduct)
+ && ( $::FORM{'product'} ne $::FORM{'dontchange'})
Surely if $::FORM{'id'} is not defined (the multi-change case), this if test
will never pass, and so the product will never change?
And I don't understand your change to CGI.pl either :-(
Gerv
Reporter | ||
Updated•21 years ago
|
Assignee: kiko → nobody
Reporter | ||
Comment 3•21 years ago
|
||
This fell off my plate and I don't feel it's worth keeping open since a better
solution would be beyond this hack.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•