Bug 1030151 - zanata-cli: Error message should not mention Maven
zanata-cli: Error message should not mention Maven
Status: CLOSED UPSTREAM
Product: Zanata
Classification: Community
Component: Component-zanata-client (Show other bugs)
development
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Damian Jansen
Zanata-QA Mailling List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-13 21:57 EST by David Mason
Modified: 2015-07-28 23:29 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-28 23:29:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Mason 2013-11-13 21:57:18 EST
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-13 23:53:02 EST
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-28 23:29:33 EDT
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.