Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1229995

Summary: Wrong display of New user signup page while logging in as admin user
Product: [Retired] Zanata Reporter: Ani Peter <apeter>
Component: Authentication-InternalAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developmentCC: swgoswam, zanata-bugs
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: 2015-07-28 23:17:34 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:
Embargoed:
Attachments:
Description Flags
Screenshot 1 - New user signup page wrongly displayed while logging in with admin credentials
none
Screenshot 2 - Exception Error
none
Screenshot 3 - Correct admin dashboard display
none
Screenshot 4 - Logging out error none

Description Ani Peter 2015-06-10 05:54:32 UTC
Created attachment 1037105 [details]
Screenshot 1 - New user signup page wrongly displayed while logging in with admin credentials

Description of problem:

Logged into Zanata using admin credentials for the first time after setting it up locally. Though logged in took me to the New User signup page. But at the same time the right corner had the user logo. Screenshot 1 attached.

Entered the name & email and saved it, which gave an exception error that read as: "An unexpected error has occurred. Please report this problem with details of what you were attempting.But you can help us fix it!"
Screenshot 2 attached. 

The message @ zanata console:

2015-06-10T04:50:20,841Z INFO  [javax.enterprise.resource.webcontainer.jsf.renderkit] (default task-16) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(ERROR 2), summary=(An unexpected error has occurred. Please report this problem with details of what you were attempting.), detail=(An unexpected error has occurred. Please report this problem with details of what you were attempting.)]


Version-Release number of selected component (if applicable):
Zanata 3.7.0 Snapshot
mariadb-10.0.19-1.fc22.x86_64
wildfly-8.0.1-Final


How reproducible:

Its intermittent. Logged out and logged in again and was taken to the correct admin dashboard. Screenshot 3 attached.

Later sometime, logged in and got the wrong page again.


Steps to Reproduce:
1. Run zanata on F22 with above components.
2. Log in using admin credentials.


Actual results:
Logged into admin user, but displayed the new user signup page. Screenshot 1.

Expected results:
Log into admin user into the admin dashboard. Screenshot 3.

Additional info:
Sometime while logging out, gives a bunch of error. Screenshot 4 attached.

Comment 1 Ani Peter 2015-06-10 05:55:33 UTC
Created attachment 1037107 [details]
Screenshot 2 - Exception Error

Comment 2 Ani Peter 2015-06-10 05:56:14 UTC
Created attachment 1037109 [details]
Screenshot 3 - Correct admin dashboard display

Comment 3 Ani Peter 2015-06-10 05:56:55 UTC
Created attachment 1037111 [details]
Screenshot 4 - Logging out error

Comment 4 Zanata Migrator 2015-07-28 23:17:34 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-98