Closed Bug 459005 Opened 16 years ago Closed 16 years ago

Statistics are not updated consistently

Categories

(Webtools Graveyard :: Verbatim, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: clouserw)

Details

There are some strange problems with statistics.  Two reproducible cases:

1) Look at the current untranslated/fuzzy strings, submit a new string, commit the file (or not), the untranslated/fuzzy total remains unchanged

2) Update a file, the totals remain unchanged

In both cases the stats should be recalculated.  This is a blocker because viewing the statistics is the primary entry point for knowing what to edit "e.g. there is a link that says '5 fuzzy strings' that goes to the 5 strings to translate"
#1 is fixed in r 8719.  I had to disable the request_cache to do this but I don't know how it's working in trunk.  It has a reset() function but it doesn't get called anywhere around the code that updates files.

#2 is fixed but still has some oddities that I'm pretty sure are on purpose.  For example, if strings are fuzzy in pootle and the file is updated and the fuzzy tags are removed pootle puts them back in.  (the opposite isn't true)  I'll dig into that more later
Assignee: nobody → clouserw
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.