Closed
Bug 676039
Opened 14 years ago
Closed 13 years ago
show_bug.cgi ctype=xml should include attachment authors full name
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: Frank, Assigned: Frank)
Details
Attachments
(1 file, 2 obsolete files)
|
1.30 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7) AppleWebKit/534.48.3 (KHTML, like Gecko) Version/5.1 Safari/534.48.3
Steps to reproduce:
In Mylyn we want to fix bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=353195 and we need the full name of the attachment author
Actual results:
only the attachment author email is included
Expected results:
the full name of the attachment author should be in the output xml
| Assignee | ||
Updated•14 years ago
|
Severity: normal → enhancement
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #550141 -
Flags: review?(mkanat)
Comment 2•14 years ago
|
||
Comment on attachment 550141 [details] [diff] [review]
patch V1
This seems like a slippery slope. Why do you need this information for attachers but not for reporters, assignees, and ccs?
Attachment #550141 -
Flags: review?(mkanat) → review-
Updated•14 years ago
|
Assignee: create-and-change → Frank
| Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Comment on attachment 550141 [details] [diff] [review] [diff] [details] [review]
> patch V1
>
> This seems like a slippery slope. Why do you need this information for
> attachers but not for reporters, assignees, and ccs?
I think we need the reporters, assignees, and ccs but actual we only have bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353195
I create an new patch soon.
Comment 4•14 years ago
|
||
I see. I don't want to add this information to the bug XML; it seems like it's something that should be known per-user instead of per-bug. The WebService allows you to get this information for users, perhaps you should get it that way?
| Assignee | ||
Comment 5•14 years ago
|
||
The Reporter and assigned_to have the Email address and the Full name
In Mylyn we Need a way to get the information witout using the webservice because the webservice is optional and Not setup inmost of the instances.
For the cc i Found nö way how to get the cc full name.
Comment 6•14 years ago
|
||
From my experience, very few (public) servers have XML-RPC enabled. Having this information available somewhere in the XML would be nice.
| Assignee | ||
Comment 7•14 years ago
|
||
Now the attacher is handled in the same way as reporter, assigned_to, qa_contact.
Attachment #550141 -
Attachment is obsolete: true
Attachment #613124 -
Flags: review?(mkanat)
Comment 8•14 years ago
|
||
Comment on attachment 613124 [details] [diff] [review]
patch V2
r=gerv.
Gerv
Attachment #613124 -
Flags: review?(mkanat) → review+
Updated•14 years ago
|
Flags: approval?
Comment 9•14 years ago
|
||
Comment on attachment 613124 [details] [diff] [review]
patch V2
You also have to fix pages/bugzilla.dtd.tmpl to take this change into account.
Attachment #613124 -
Flags: review-
Updated•14 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: approval?
Target Milestone: --- → Bugzilla 4.4
| Assignee | ||
Comment 10•14 years ago
|
||
bugzilla.dtd.tmpl is now changed!
Attachment #613124 -
Attachment is obsolete: true
Attachment #623756 -
Flags: review?(LpSolit)
Comment 11•13 years ago
|
||
Comment on attachment 623756 [details] [diff] [review]
patch V3
>=== modified file 'template/en/default/bug/show.xml.tmpl'
>+ <attacher [% IF a.attacher.name != '' %] name="[% a.attacher.name FILTER xml %]"[% END -%]>
Remove the whitespace before [% IF ... %], else two whitespaces are printed.
>=== modified file 'template/en/default/pages/bugzilla.dtd.tmpl'
>+<!ATTLIST attacher
>+ name CDATA #REQUIRED
>+ >
Fix the indentation of >.
Both comments can be fixed on checkin. r=LpSolit
Attachment #623756 -
Flags: review?(LpSolit) → review+
Updated•13 years ago
|
Flags: approval+
Comment 12•13 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/bug/show.xml.tmpl
modified template/en/default/pages/bugzilla.dtd.tmpl
Committed revision 8238.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•