Closed Bug 556373 Opened 15 years ago Closed 15 years ago

Move the adding/removing of groups from process_bug.cgi to Bugzilla::Bug::set_all

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file)

No description provided.
Attached patch v1Splinter Review
In the interest of code simplicity, there's a slight change in behavior here for edit-multiple. Now, if you try to add a bunch of bugs to a group, and one of the bugs can't actually be in that group, then you'll get an error instead of it silently ignoring the invalid group. I think this is probably actually better, since adding bugs to groups is a security issue, and people want to know if that doesn't actually happen. I moved the Flags stuff because it's theoretically possible for the "component" field to not be set until after set_all, even now. (It was always in the wrong place.)
Assignee: create-and-change → mkanat
Status: NEW → ASSIGNED
Attachment #436313 - Flags: review?(dkl)
Blocks: 556397
Attachment #436313 - Flags: review?(dkl) → review+
Comment on attachment 436313 [details] [diff] [review] v1 Looks good and all works as expected. r=dkl
Flags: approval?
Flags: approval? → approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified process_bug.cgi modified Bugzilla/Bug.pm Committed revision 7178.
Status: ASSIGNED → RESOLVED
Closed: 15 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: