Bug 1030151 - zanata-cli: Error message should not mention Maven
Summary: zanata-cli: Error message should not mention Maven
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-zanata-client
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 02:57 UTC by David Mason
Modified: 2015-07-29 03:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 03:29:33 UTC
Embargoed:


Attachments (Terms of Use)

Description David Mason 2013-11-14 02:57:18 UTC
Description of problem:
When running a push or pull with zanata-cli in a Jenkins job, if batch mode is not specified there is an error when user input is required. The error text mentions Maven, but zanata-cli is not run from Maven.


Version-Release number of selected component (if applicable):


How reproducible:
Moderate, always


Steps to Reproduce:
1. Create a jenkins task that runs zanata-cli pull
2. Run the jenkins task
3. View console output

Actual results:
Output includes the line:
[ERROR] Execution failed: console not available: please run Maven from a console, or use batch mode option (-B)


Expected results:
[ERROR] Execution failed: console not available: please run zanata-cli from a console, or add batch mode option (-B) before the sub-command

Additional info:

Comment 2 Sean Flanigan 2013-11-14 04:53:02 UTC
How about this for Expected results? :

[ERROR] Execution failed: console not available: please run the client from a console, or use batch mode option (-B).

I'd rather we fixed zanata-cli so that the help didn't suggest -B was allowed after the subcommand, than go to the trouble of customising this error message for Maven vs zanata-cli.

Comment 3 Zanata Migrator 2015-07-29 03:29:33 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-293


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