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)

4.1.2
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: Frank, Assigned: Frank)

Details

Attachments

(1 file, 2 obsolete files)

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
Severity: normal → enhancement
Attached patch patch V1 (obsolete) — Splinter Review
Attachment #550141 - Flags: review?(mkanat)
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-
Assignee: create-and-change → Frank
(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.
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?
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.
From my experience, very few (public) servers have XML-RPC enabled. Having this information available somewhere in the XML would be nice.
Attached patch patch V2 (obsolete) — Splinter Review
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 on attachment 613124 [details] [diff] [review] patch V2 r=gerv. Gerv
Attachment #613124 - Flags: review?(mkanat) → review+
Flags: approval?
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-
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: approval?
Target Milestone: --- → Bugzilla 4.4
Attached patch patch V3Splinter Review
bugzilla.dtd.tmpl is now changed!
Attachment #613124 - Attachment is obsolete: true
Attachment #623756 - Flags: review?(LpSolit)
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+
Flags: approval+
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.

Attachment

General

Creator:
Created:
Updated:
Size: