Description of problem: There is issue with xmlrpc info about testcase.author and testcase.tester. WebUI uses bugzilla login and xmlrpc uses full names. The worst thing is that tester is None instead of some name many times Lets compare testcase number: 146417 Version-Release number of selected component (if applicable): Nitrate 3.7.0 © 2011 Red Hat, Inc. All rights reserved. How reproducible: deterministic Steps to Reproduce: 1, [psklenar@dhcp-25-114 tcmsinfo]$ python Python 2.6.6 (r266:84292, Apr 11 2011, 15:50:32) [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Nitrate >>> print Nitrate.TestCase(146417).author Jan Scotka >>> print Nitrate.TestCase(146417).tester None >>> Actual results: author is Jan Scotka - not bugzilla login tester is NONE compare with: https://tcms.engineering.redhat.com/case/146417/ Expected results: author is bugzilla login Author : jscotka tester is bugzilla login Default Tester : ebalintn Additional info: I can see it at many testcases. There are some inconsistency in database.
(In reply to comment #0) > Description of problem: > There is issue with xmlrpc info about testcase.author and testcase.tester. > WebUI uses bugzilla login and xmlrpc uses full names. > The worst thing is that tester is None instead of some name many times > > Lets compare testcase number: 146417 > > Version-Release number of selected component (if applicable): > Nitrate 3.7.0 © 2011 Red Hat, Inc. All rights reserved. > > How reproducible: > deterministic > > Steps to Reproduce: > 1, [psklenar@dhcp-25-114 tcmsinfo]$ python > Python 2.6.6 (r266:84292, Apr 11 2011, 15:50:32) > [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import Nitrate > >>> print Nitrate.TestCase(146417).author > Jan Scotka > >>> print Nitrate.TestCase(146417).tester > None > >>> > > Actual results: > author is Jan Scotka - not bugzilla login > tester is NONE > compare with: https://tcms.engineering.redhat.com/case/146417/ > > > Expected results: > author is bugzilla login > Author : jscotka > > tester is bugzilla login > Default Tester : ebalintn > > Additional info: > I can see it at many testcases. There are some inconsistency in database. This inconsistency raise because the WebUI display author/tester email address but not the username of the user. The XML-RPC's return user's username. In [1]: s = nitrate.NitrateKerbXmlrpc('https://tcms.engineering.redhat.com/xmlrpc/').server In [2]: s.TestCase.get(146417)['default_tester'] Out[2]: 'ebalintn' In [3]: s.TestCase.get(146417)['author'] Out[3]: 'jscotka' Check the https://tcms.engineering.redhat.com/accounts/ebalintn/profile/ this contains three field like "username", "name", "email". Thanks.
This is not a bug, closed. If you have any suggestions, re-open freely.