Bug 771476 - User information returned changed/decreased
Summary: User information returned changed/decreased
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-03 20:46 UTC by Pierre-YvesChibon
Modified: 2013-01-14 23:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-14 23:56:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Python script to regenerate the behavior (537 bytes, text/x-python)
2012-01-03 20:46 UTC, Pierre-YvesChibon
no flags Details

Description Pierre-YvesChibon 2012-01-03 20:46:44 UTC
Created attachment 550528 [details]
Python script to regenerate the behavior

Description of problem:
In the 0.6.1 (and 0.6.2) version there is a regression making the amount of information returned by the library for the author of a comment has decreased significantly.

Using this library in the fedora-active-user script I needed to access the email of the user who commented. While this is present in the 0.6.0 version it is not any more in the 0.6.2

Version:
python-bugzilla-0.6.2-2.fc16.noarch

How reproducible:
Always

Steps to Reproduce:
1. Get the python script attached
2. Run it on EL6 and F16 (or F14)
3. See the difference in the output / amount of information retrieved
  
Actual results:
From F16 (version 0.6.2) or F14 (version 0.6.1):
"""
   68 bugs assigned or cc to pingou 
Kay Sievers
Toshi
"""

From EL6 (version 0.6.0):
"""
   68 bugs assigned or cc to pingou 
{'realname': 'Kay Sievers', 'disable_mail': 0, 'userid': 315902, 'showmybugslink': 1, 'disabledtext': '', 'login_name': 'kay@...'}
{'realname': 'Toshi', 'disable_mail': 0, 'userid': 294739, 'showmybugslink': 1, 'disabledtext': '', 'login_name': 'reykvid@...'}
"""

Expected results:
It would be nice if the output was the one provided by the 0.6.0 version.

Additional info:

Comment 1 Cole Robinson 2012-12-28 03:16:31 UTC
I think this is something that changed on the rhbugzilla side, though I wasn't really involved with python-bugzilla at 0.6.0 time.

You should be able to still fetch that info with

bz._proxy.User.get({"ids": [<userid value from longdesc>]})

What extra bits of info do you need there? Have you worked around it somehow?

Comment 2 Cole Robinson 2013-01-14 23:56:27 UTC
Closing, if this is still important to you, please reopen with the info requested in comment #1


Note You need to log in before you can comment on or make changes to this bug.