Closed
Bug 278717
Opened 20 years ago
Closed 19 years ago
Can't create "create bug" template with multiple CCs if you use usemenuforusers
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: john, Assigned: Wurblzap)
References
Details
Attachments
(1 file, 2 obsolete files)
1.51 KB,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0 Due to the checkin of the patch for bug 255428 you can no longer create a bookmarkable "create bug" template with more than one CC entry if you set the "usemenuforusers" param to "on". This is because the combination of enter_bug.cgi and userselect.html.tmpl don't allow for multiple initial selections in the CC multiselect. Reproducible: Always Steps to Reproduce: 1. Ensure you're using an installation of Bugzilla with the "usermenuforusers" param set to "on". 2. Go to the create bug page, select more than one CC person and click "Remeber values as bookmarkable template". 3. Click the link gets generated. Actual Results: The create bug page generated by step 3 does not have all of the users you selected in the CC box in step 2 selected. Only the first selected user is. Expected Results: The create bug page generated by step 3 should have all the users you selected for CC in step 2 selected.
Comment 1•20 years ago
|
||
Do you mean the CC entry or the Add to CC entry? I think the CC entry list remained unaffected.
Summary: Can't create create bug template with multiple CCs if you use usemenuforusers → Can't create create bug template with multiple CCs if you use usemenuforusers
Reporter | ||
Comment 2•20 years ago
|
||
I mean the "CC:" field in enter_bug.cgi I've been looking at the problem but can't see how you're meant to get a multivalue form entry into a template.
Reporter | ||
Updated•20 years ago
|
Summary: Can't create create bug template with multiple CCs if you use usemenuforusers → Can't create "create bug" template with multiple CCs if you use usemenuforusers
Reporter | ||
Comment 3•20 years ago
|
||
What I have determined is that the "value" input parameter to global/userselect.html.tmpl is either going to need to be changed to be an array(ref) or a new input parameter will need to be added.
Reporter | ||
Comment 4•20 years ago
|
||
To try to clarify further, what I mean is that enter_bug.cgi will create a "bookmarkable template" of the form: enter_bug.cgi?product=...&...&cc=user1&cc=user2&... However, enter_bug.cgi doesn't handle 'cc' having more than one value, and even if it did, userselect.html.tmpl doesn't handle selecting more than one entry in a multiselect box.
Assignee | ||
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•20 years ago
|
||
Coping with user lists, using pattern matching.
Assignee | ||
Updated•20 years ago
|
Severity: normal → minor
OS: Windows XP → All
Hardware: PC → All
Reporter | ||
Comment 6•20 years ago
|
||
Works well on my installation. You've done it a way I'd considered but not yet attempted. Quite a tidy way to do it, it turns out.
Assignee | ||
Updated•20 years ago
|
Whiteboard: patch awaiting review
Comment 7•19 years ago
|
||
Comment on attachment 171762 [details] [diff] [review] Patch This patch has bitrotted, but when I unrotted it, I couldn't get it to work for me. I probably was doing something wrong, though. Can you post an updated patch?
Attachment #171762 -
Flags: review? → review-
Assignee | ||
Comment 8•19 years ago
|
||
Attachment #171762 -
Attachment is obsolete: true
Attachment #177486 -
Flags: review?(myk)
Reporter | ||
Comment 9•19 years ago
|
||
How about this. It's untested as I haven't got a tip installation of Bugzilla at the moment.
Reporter | ||
Comment 10•19 years ago
|
||
Woah, you wait ages for a patch and then 2 come along... :)
Reporter | ||
Updated•19 years ago
|
Attachment #177487 -
Attachment is obsolete: true
Updated•19 years ago
|
Attachment #177486 -
Flags: review?(myk) → review+
Updated•19 years ago
|
Flags: approval+
Assignee | ||
Updated•19 years ago
|
Whiteboard: patch awaiting review → patch awaiting checkin
Comment 11•19 years ago
|
||
Checking in enter_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/enter_bug.cgi,v <-- enter_bug.cgi new revision: 1.112; previous revision: 1.111 done Checking in template/en/default/global/userselect.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/userselect.html.tmpl,v <-- userselect.html.tmpl new revision: 1.5; previous revision: 1.4 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.20
Updated•19 years ago
|
Whiteboard: patch awaiting checkin
You need to log in
before you can comment on or make changes to this bug.
Description
•