Bug 910216

Summary: Statistics API returns word level statistics when only message level statistics are requested
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: Component-APIAssignee: David Mason <damason>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1   
Target Milestone: ---   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.2-SNAPSHOT (20130221-0034) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 03:23:49 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 David Mason 2013-02-12 02:38:50 UTC
Description of problem:
When getting stats using the REST API (e.g. using maven plugin), default setting is not to include word level statistics, but the API always returns word statistics.

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


How reproducible:
Always

Steps to Reproduce:
1.Set up maven client, zanata.xml and zanata.ini for a project
2.Run 'mvn zanata:stats'

  
Actual results:
Message and Word stats are shown

Expected results:
Only Message stats are shown

Additional info:
Caused by changes in https://github.com/zanata/zanata/commit/aed6918571a4f6f9bce2af87b104c613f6784671

Comment 1 David Mason 2013-02-12 02:40:51 UTC
Fixed in 2.2-SNAPSHOT

See: https://github.com/zanata/zanata/commit/4ed20fea576d4dcd959e9a9b29d179442d5ffb0c

Comment 2 Ding-Yi Chen 2013-02-21 04:20:19 UTC
VERIFIED with Zanata version 2.2-SNAPSHOT (20130221-0034)
Maven client 2.0.2-SNAPSHOT

Comment 3 Sean Flanigan 2013-11-27 03:14:01 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 4 Sean Flanigan 2013-11-27 03:15:53 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 5 Sean Flanigan 2013-11-27 03:19:29 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 6 Sean Flanigan 2013-11-27 03:23:49 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 7 Sean Flanigan 2013-11-27 03:34:16 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 8 Sean Flanigan 2013-11-27 03:36:25 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.