Closed
Bug 581690
Opened 14 years ago
Closed 14 years ago
Restore the ability to move several bugs at once to another installation
Categories
(Bugzilla :: Bug Import/Export & Moving, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
(Keywords: regression, selenium)
Attachments
(1 file, 1 obsolete file)
4.90 KB,
patch
|
gregaryh
:
review+
|
Details | Diff | Splinter Review |
Moving several bugs at once has been removed, as mentioned in bug 556422 comment 2. If importxml.pl cannot handle this correctly, it should be fixed. But removing this feature is a weird way to fix the problem.
Assignee | ||
Comment 1•14 years ago
|
||
One XML bugmail is generated per bug, so importxml.pl can still import them on a per-bug basis.
Assignee | ||
Comment 2•14 years ago
|
||
Move the "Move Bugs to ..." button below the Groups table when editing several bugs at once.
Attachment #461941 -
Attachment is obsolete: true
Attachment #461944 -
Flags: review?(mkanat)
Attachment #461941 -
Flags: review?(mkanat)
Assignee | ||
Updated•14 years ago
|
Attachment #461944 -
Flags: review?(ghendricks)
Comment 3•14 years ago
|
||
Comment on attachment 461944 [details] [diff] [review] patch, v1.1 There was some reason that I did oldbugmove_$id. I don't remember what it was, but I'm sure it was a good reason. I think perhaps what we should do is to have an additional thing called oldbugmove_multiple or oldbugmove_all, and _bug_is_moving should always return true if it's set.
Attachment #461944 -
Flags: review?(mkanat)
Attachment #461944 -
Flags: review?(ghendricks)
Attachment #461944 -
Flags: review-
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 461944 [details] [diff] [review] patch, v1.1 I thought about that too, but I couldn't find a good reason to append the bug ID at the end. Else you could pass oldbugmove_multiple all the time, even for single bugs, which has the same effect as naming it oldbugmove directly, which is why I removed the bug ID. So unless you can remember what the reason was *exactly*, please don't deny review.
Attachment #461944 -
Flags: review?(mkanat)
Attachment #461944 -
Flags: review?(ghendricks)
Attachment #461944 -
Flags: review-
Updated•14 years ago
|
Attachment #461944 -
Flags: review?(ghendricks) → review+
Assignee | ||
Updated•14 years ago
|
Flags: approval4.0+
Flags: approval+
Comment 5•14 years ago
|
||
I'm pretty certain that it involved working around an important bug that I hit during development. I just don't recall what the bug was.
Assignee | ||
Comment 6•14 years ago
|
||
Well, if someone can give me STR for this forgotten important bug, I would be happy to fix the problem in a subsequent bug. Maybe that was a problem at some point while moving the feature to an extension, and the problem disappeared in your final patch. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified extensions/OldBugMove/Extension.pm added extensions/OldBugMove/template/en/default/hook/list modified extensions/OldBugMove/template/en/default/hook/bug/edit-after_comment_textarea.html.tmpl added extensions/OldBugMove/template/en/default/hook/list/edit-multiple-after_groups.html.tmpl modified template/en/default/list/edit-multiple.html.tmpl Committed revision 7439. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified extensions/OldBugMove/Extension.pm added extensions/OldBugMove/template/en/default/hook/list modified extensions/OldBugMove/template/en/default/hook/bug/edit-after_comment_textarea.html.tmpl added extensions/OldBugMove/template/en/default/hook/list/edit-multiple-after_groups.html.tmpl modified template/en/default/list/edit-multiple.html.tmpl Committed revision 7380.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Attachment #461944 -
Flags: review?(mkanat)
Comment 7•14 years ago
|
||
Comment on attachment 461944 [details] [diff] [review] patch, v1.1 At the very least, it's dangerous--any time set_all is called on a bug on any page where the "oldbugmove" item was submitted, every single bug that set_all is called on will have its status and resolution changed, whether the caller intended that or not. That's a recipe for future trouble, even if there isn't trouble now.
Assignee | ||
Comment 8•14 years ago
|
||
We never had a button whose ID depends on the bug ID. There is no reason for the "Move To ..." button to be an exception. It's like saying you pass "RESOLVED FIXED", and then complain that every bug in set_all() will be set to this status and resolution. That's simply how things work.
Comment 9•14 years ago
|
||
(In reply to comment #8) > We never had a button whose ID depends on the bug ID. Well, I understand what you're saying, but that's not a logical response to my argument, really. I'll explain why: > It's like saying you pass > "RESOLVED FIXED", and then complain that every bug in set_all() will be set to > this status and resolution. No, it's not. For example, let's say I want to write an extension to modify certain field values on bug B when updating bug A. In modern Bugzilla, the correct way to do this is to use set_all. So, I move Bug A, and I didn't intend to move Bug B, but it also gets moved, simply because I *called* set_all. I didn't have to pass any bug_status argument to set_all--I just had to *call* it.
Assignee | ||
Comment 10•12 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/qa/4.4/ modified t/test_bug_edit.t Committed revision 238. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/qa/4.2/ modified t/test_bug_edit.t Committed revision 228.
Flags: testcase+
Keywords: selenium
You need to log in
before you can comment on or make changes to this bug.
Description
•