Bug 1193597 - [Fedora] Could not generate API Key. Nothing done.
Summary: [Fedora] Could not generate API Key. Nothing done.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.5
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: 3.6
Assignee: Alex Eng
QA Contact: Damian Jansen
URL: https://fedora.zanata.org/dashboard/s...
Whiteboard:
: 1197029 1197461 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 16:40 UTC by Kevin Raymond
Modified: 2015-03-24 05:59 UTC (History)
9 users (show)

Fixed In Version: 3.6.0-snapshot
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-19 07:10:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1199882 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1199882

Description Kevin Raymond 2015-02-17 16:40:04 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build Identifier: 

Once asking to generate a new API key (my user "shaiton" don't have any registered) the page loads index/dashboard and no key has been generated.

I tried many things, logout/login.. other browser..

Any clue?

Reproducible: Always

Steps to Reproduce:
click on generate a new key for a new account. (created from FAS access)
Actual Results:  
no api key

Expected Results:  
api key generated

Comment 1 Ding-Yi Chen 2015-02-19 05:46:31 UTC
Kevin,

Your account is enabled and has user role, that is, pretty normal.
And I cannot reproduce the bug.

Would you mind taking a Screenshot so I can have better look?

Comment 2 Kevin Raymond 2015-02-19 12:54:25 UTC
here is a screenshot:
http://paste.opensuse.org/70286129

Wait, I found the issue!
I tried to change the display language to En... And magically it works perfectly.
The other guy were also using French (default selected by the browser).

When using the website with the French language, once clicking under Generate new API key it does not run the onClick event (I don't have the popup in order to acknowledge, it just redirects to the dash board directly)

I don't find any issue in the source code, but might be somewhere.
I tried with It, not reproduced, only with fr locale.

Comment 3 Carlos Munoz 2015-02-19 22:57:29 UTC
Thanks Kevin, that's actually a pretty crucial find. I think with that information we might be able to reproduce it. Alex, do you mind taking a look?

Comment 4 Alex Eng 2015-02-20 00:39:58 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/697

Comment 5 Alex Eng 2015-02-20 04:00:40 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/698

Comment 6 Damian Jansen 2015-02-23 00:18:59 UTC
Verified merge at b07873274d76165b9cd4d4358d1c27a0d87fc842

Comment 7 Sean Flanigan 2015-03-09 05:33:41 UTC
*** Bug 1197029 has been marked as a duplicate of this bug. ***

Comment 8 Ding-Yi Chen 2015-03-24 05:59:56 UTC
*** Bug 1197461 has been marked as a duplicate of this bug. ***


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