Re: How to get user name from 'author' id

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
In message
<CADBfC1BnaVwVRT5wtZjk2O0L0OA-EL1960mxQaPJBmprx8XK=A@mail.gmail.com> ,
Yu Wu writes:
>On Wed, Sep 5, 2012 at 2:53 AM, Bernhard Reiter <[email protected]>
> wrote:
>> Am Mittwoch, 5. September 2012 05:57:31 schrieb Yu Wu:
>>> When I user xmlrpclib to display a certain message, I can only get a
>>> number for that author, like 'author: 3104'
>>>
>>> I'm wondering how can I get the author's user name from this id.
>>
>> The name should a property of the user3104 object.
>> (I'm no expert on the xmlrpc interface, but I guess you can ask
>> for user3104 somehow.)
>Yes it works! I should have thought about this. Thank you both very much!

What would be great is to have some additional documentation and
examples on the xml interface.

I have a patch pending:

  http://issues.roundup-tracker.org/issue2550749

that slightly changes xml handling. Currently if the input mime type
is text/xml, it invokes the xmlrpc handler. However REST and other
mechanisms can also use xml style data (although json is probably more
likely). My patch invokes the xmlrpc hander only when addressed as:

   <roundup_url>/xmlrpc

Would you be able to apply the patch attached to the issue and verify
that things still work as expected? I tested it with the examples I
could find but didn't really try it in a real world scenario.

For the other roundup developers do we have a feeling for how
disruptive this patch would be? Any idea how many people are using the
xlmrpc mechanism? Other than more extensive testing, what should
happen before this patch is integrated into a release?

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.