Bug 1032321 - RFE: Client error message Incorrect username/password should be replaced with Incorrect username/apikey
Summary: RFE: Client error message Incorrect username/password should be replaced with...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Maven
Version: 3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michelle Kim
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 00:55 UTC by Ding-Yi Chen
Modified: 2015-07-29 02:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 02:11:49 UTC


Attachments (Terms of Use)

Description Ding-Yi Chen 2013-11-20 00:55:45 UTC
Description of problem:
Clients do not use password in most cases, instead, they use apikey.
And error message should ask for correct apikey instead
of password

Version-Release number of selected component (if applicable):
org.zanata:zanata-maven-plugin:3.1.2:

How reproducible:
Always

Steps to Reproduce:
1. mvn -e zanata:push -Dzanata.user=NotExists

Actual results:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.1.2:push (default-cli) on project standalone-pom: Zanata mojo exception: Incorrect username/password -> [Help 1]


Expected results:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.1.2:push (default-cli) on project standalone-pom: Zanata mojo exception: Incorrect username/apikey -> [Help 1]


Additional info:

Comment 1 Ding-Yi Chen 2015-03-23 02:57:33 UTC
Even if -Dzanata.disableSSLCert is specified, it returned like.


[WARNING] SSL certificate verification will be disabled. You should consider adding the certificate instead of disabling it.
[WARNING] exception processing request
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.4.2:push (default-cli) on project standalone-pom: Zanata mojo exception: IOException: peer not authenticated -> [Help 1]

It would be more straight forward and less confusing if the error message is
Incorrect username/apikey

Comment 2 Zanata Migrator 2015-07-29 02:11:49 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-150


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