Bug 1192271
Summary: | For gettext plural project, project-version statistics was inconsistent between language and document ( sometime more than 100%) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> | ||||
Component: | Component-Logic | Assignee: | Alex Eng <aeng> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.6 | CC: | zanata-bugs | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.6 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.6.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2744) | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-03-19 07:10:15 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: | |||||||
Attachments: |
|
Description
Ding-Yi Chen
2015-02-13 02:34:21 UTC
Statistic looks fine when trying to reproduce the issue with given data. Please try retest with your local cache cleared. To reproduce the bug seems more complicate that I originally thought. My steps to reproduced in test server: 1. Add a new locale in zanata.xml (Add a new language in Zanata server if necessary) 2. Push with mvn -e org.zanata:zanata-maven-plugin:push -Dzanata.pushType=both -Dzanata.srcDir=po -Dzanata.transDir=po -Dzanata.url=$ZANATA_URL 3. In Web UI, check the statistics of new locales. Actual results: Statistics of new locales shown in languages column and documents column were inconsistent. Expected: Statistics of locales shown in languages column and document are consistent. Upload from web UI seems fine now. Workaround: (Admin only) 1. Go to Administration Menu -> Server Monitoring 2. look for "Data caches", expends it. 3. Search for "org.zanata.service.impl.TranslationStateCacheImpl.documentStatisticCache", 4. Click the recycle bin icon at the end of that row Pull request: https://github.com/zanata/zanata-server/pull/695 VERIFIED with Zanata 3.6.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2744) |