Bug 1013524

Summary: nitrate CaseRun returns unexpected value
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: python-nitrateAssignee: Petr Šplíchal <psplicha>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ohudlick, psplicha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-30 23:02:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dalibor Pospíšil 2013-09-30 09:35:18 UTC
Description of problem:
CaseRun sometimes return unexpected value of 'No Name' even if it has regular assignee in web ui, see https://tcms.engineering.redhat.com/run/86611/#caserun_3396109.

Version-Release number of selected component (if applicable):
python-nitrate-0.9-0.el6

How reproducible:
100%

Steps to Reproduce:
1. >>> print CaseRun(3396109).assignee

Actual results:
No Name

Expected results:
Hubert Kario

Additional info:
>>> print CaseRun(id=3396103)
IDLE - CR#3396103 - /CoreOS/amtu/Regression/bz689823-AMTU-Failed-to-get-list-of-network-interfaces
>>> print CaseRun(id=3396103).assignee
David Sp?rek

>>> print CaseRun(3396109)
IDLE - CR#3396109 - /CoreOS/arptables_jf/Sanity/smoketest
>>> print CaseRun(3396109).assignee
No Name

Comment 1 Dalibor Pospíšil 2013-09-30 09:40:17 UTC
Even TestCase returns the same unexpected values.

>>> print TestCase(id=266711).author
No Name

Comment 2 Petr Šplíchal 2013-10-30 23:01:27 UTC
I believe this is caused by user name and surname not filled in
Hubert's user preferences 'cause "No Name" is used in such cases.