Bug 1121442
| Summary: | zanata-client-3.3.2 tracking bugs | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
| Component: | Component-zanata-client | Assignee: | Patrick Huang <pahuang> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | client-3.3 | CC: | zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | client-3.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Client 3.4.1-SNAPSHOT | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-20 01:16:40 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: | |||
|
Description
Ding-Yi Chen
2014-07-21 01:25:06 UTC
Correction. failed to recognize --logHttp option (In reply to Patrick Huang from comment #1) > Correction. > failed to recognize --logHttp option Is the option name convention in zanata-cli "--xxx-xxxx" The convention is --xx-xxxx. But our current code defines that option as --logHttp. I mention it just so we are clear that the bug is: this option for some reason isn't recognized. After we find out why it isn't recognized, we can/should rename it to follow convention. (In reply to Ding-Yi Chen from comment #2) > (In reply to Patrick Huang from comment #1) > > Correction. > > failed to recognize --logHttp option > > Is the option name convention in zanata-cli "--xxx-xxxx" We can't handle http status 302 properly (current library don't support it). What we do now is to show a better error message and let user know they need to change their url to match the redirected location. Tested with commit 02f67bf69f606ee50c5d438277a6ae4721c993e1 Running zanata-cli pull --help, the description of option --log-http is shown as: [--log-http LOGHTTP], which should be [--log-http], as it does not accept value. Done. VERIFIED with client 3.4.1-SNAPSHOT commit 09d856c7cc1e2f720fb853eb87d68199c4d6eded *** Bug 1152787 has been marked as a duplicate of this bug. *** |