Closed Bug 92593 Opened 24 years ago Closed 24 years ago

Moving a bugs product removes all voters from the bug.

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.14

People

(Reporter: CodeMachine, Assigned: jacob)

References

()

Details

Attachments

(1 file)

When you move a bug from one product to another, all the voters get removed from the bug. While this is often necessary because otherwise you could exceed your vote limit per product, it is not always necessary. Instead we could reduce people's votes to the highest value that: (a) Means that the user's total vote count doesn't exceed what is allowed by the product. (b) Means that the user's bug vote count doesn't exceed what is allowed by the product (see also bug #28882). Of course often this might mean we reduce it to 0, and hence we remove them from the bug.
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.16
Dave, we might want to fix this one for 2.14 as it'd be good for b.m.o to have this fix when we create a Bugzilla product.
We should still send out an e-mail saying their vote has been reduced. If it needs to be removed entirely (because they're already reached their limit in that product), we should send out the e-mail we do currently.
yep, that do look like it. Since the Bugzilla product as proposed currently allows more votes than webtools does, there shouldn't be any reductions necessary. It'd be a good thing to have all the votes preserved.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.14
Attached patch patchSplinter Review
The patch is largely untested (that is to say I tested a couple bits independant of the bugzilla source and haven't tested it "in place"), but is now available on Landfill for testing (see URL). What it does is makes the user's votes fit into the per bug limit on a product change (or policy change, for that matter) but doesn't do anything to make it fit into the max per product limit (unless that limit is 0). The user will be forced to make thier votes fit inside the per-product limit the next time they update their votes. For Example: Broswer has a max of 10 (1 vote per bug limit) Webtools has a max of 5 (5 votes per bug limit) Let's say you have voted for 10 bugs in browser and there is a webtools bug that you have commited 3 votes to. If that webtools bug were to get moved to browser, your votes on it would be reduced to 1 (you'd get an e-mail to that effect), even though that'd make a total of 11 browser votes. The next time you try to update your votes, you'll be forced to get your votes in the browser component down to 10.
Assignee: justdave → jake
Keywords: patch, review
r= justdave. it's in.
I said FIXED, dangit
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Blocks: 28882
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.10 → unspecified
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

Created:
Updated:
Size: