Bug 1392487

Summary: First Name not displayed for admin under users tab
Product: [oVirt] ovirt-engine Reporter: Gonza <grafuls>
Component: AAAAssignee: Ondra Machacek <omachace>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.5CC: bugs, gklein, lbednar, lsvaty, mperina, omachace, oourfali, slitmano
Target Milestone: ovirt-4.0.6Keywords: Regression, ZStream
Target Release: 4.0.6.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:27:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gonza 2016-11-07 15:23:59 UTC
Description of problem:
Under users tab, First Name is not displayed under users table for admin despite being populated

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20161106231312.git19a3a39.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Go to users tab and check first name for admin user is displayed as "admin" under the users table

Actual results:
missing first name

Expected results:
showing first name

Additional info:
# ovirt-aaa-jdbc-tool user show admin
-- User admin(46c4f180-e88a-496c-8463-c5ef0c8c082d) --
Namespace: *
Name: admin
ID: 46c4f180-e88a-496c-8463-c5ef0c8c082d
Display Name: 
Email: 
First Name: admin
Last Name: 
Department: 
Title: 
Description: 
Account Disabled: false
Account Locked: false
Account Unlocked At: 1970-01-01 00:00:00Z
Account Valid From: 2016-11-07 10:57:46Z
Account Valid To: 2216-11-07 10:57:46Z
Account Without Password: false
Last successful Login At: 2016-11-07 15:05:50Z
Last unsuccessful Login At: 1970-01-01 00:00:00Z
Password Valid To: 2216-09-20 11:03:04Z

Comment 1 Martin Perina 2016-11-12 12:59:33 UTC
Ondro, could you please check?

Comment 2 Ondra Machacek 2016-11-14 07:46:40 UTC
The problem is that the users table is updated with incorrect first/last name 
value, everytime user is logged in (as it's updated). This apply to all users. Marking as regression as I remember this used to work right.

Comment 3 Ondra Machacek 2016-11-14 07:49:12 UTC
The problem is with:

 - first name
 - last name
 - admin/user icon
 - namespace
 - e-mail

Comment 4 Red Hat Bugzilla Rules Engine 2016-11-21 08:50:43 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 5 Martin Perina 2016-11-21 08:53:24 UTC
*** Bug 1396824 has been marked as a duplicate of this bug. ***

Comment 6 Lucie Leistnerova 2016-11-25 13:15:01 UTC
Add new user updates all attributes fine. But after login Firstname, Lastname and Namespace are empty.

tested in ovirt-engine-4.0.6-0.1.el7ev.noarch

Comment 7 Red Hat Bugzilla Rules Engine 2016-11-25 13:15:09 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 8 Martin Perina 2016-11-25 15:21:44 UTC
Moving back to MODIFIED, engine build has not been updated in this week's repository, so you tested that with an old version, which does not contain the fix.

Comment 9 Lucie Leistnerova 2016-11-28 08:52:19 UTC
now it's OK

verified in ovirt-engine-4.0.6.1-0.1.el7ev.noarch