Bug 848988
| Summary: | RFE: Clients side support of Translation Documents Statistic via REST | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
| Component: | Component-Logic | Assignee: | Runa Bhattacharjee <runab> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | ankit, camunoz, lnewson, mcaspers, sflaniga, tdabasin, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | 2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 1.8.0-SNAPSHOT (20120822-0015) | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 831894 | Environment: | |
| Last Closed: | 2012-11-07 06:19:28 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: | |||
| Bug Depends On: | 831894 | ||
| Bug Blocks: | 756657 | ||
|
Description
Ding-Yi Chen
2012-08-17 02:14:01 UTC
Tested with Zanata version 1.8.0-SNAPSHOT (20120821-1123) maven client API version: 1.8.0-SNAPSHOT In include detail mode (-Dzanata.details), if the project version contains documents without content, it returns HTTP 500 error. Step to reproduce: mvn -e zanata:stats -Dzanata.project=SELinuxGuide -Dzanata.projectVersion=f12 -Dzanata.details Actual result: Expect result: Run without error, while the statistic of empty documents should also correctly shown. i.e. Total:0, translated:0, NeedReview:0, Untranslated: 0 Reassigned. Fixed for documents with no translation units. The UI should show '(No Content)' as usual, and the REST API will show 'Total:0, translated:0, NeedReview:0, Untranslated: 0'. See: https://github.com/zanata/zanata/commit/0c549aa710d0c5e3a810d1fadeecf787cb0e0363 VERIFIED with Zanata version 1.8.0-SNAPSHOT (20120822-0015) client API version: 1.8.0-SNAPSHOT, server API version: 1.8.0-SNAPSHOT Fix released in Zanata 2.0. |