Closed Bug 177207 Opened 22 years ago Closed 21 years ago

Support dontchange generically in process_bug

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.17
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kiko, Assigned: nobody)

Details

Attachments

(1 file)

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.
I've coded up a quick fix to this, and it worksforme. Gerv, you said you might have a look at this?
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
Assignee: kiko → nobody
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
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: