I'm reviewing suggestions in http://localize.drupal.org/translate/languages/nb/ , and some suggestions come and go -- sometimes I see them, sometimes I don't. Right now, what I see is that if I filter for status "any"+"has suggestion", and then filter for status "untranslated"+"has suggestion", the latter filter will show me some strings which aren't there in the "status=any" view.

For instance: http://localize.drupal.org/translate/languages/nb/translate?sid=353244 , http://localize.drupal.org/translate/languages/nb/translate?sid=353474, and http://localize.drupal.org/translate/languages/nb/translate?sid=353476 only appear when I filter for "untranslated + has suggestion", NOT when I filter for "any + has suggestion".

I think I've seen suggestions play hide-and-seek in other situations as well -- I accept or reject some suggestions, and suddenly new suggestions appear which I didn't see a moment before. For instance, I'm pretty sure this string http://localize.drupal.org/translate/languages/nb/translate?sid=883089 behaved that way earlier today -- I was approving some strings, and suddenly that string appeared with a suggestion which I hadn't seen. (I approved it, so now it isn't a suggestion any more.) I didn't save any before/after page views then, though, and can't be absolutely sure.

Links:
http://localize.drupal.org/translate/languages/nb/translate?project=&sta...
http://localize.drupal.org/translate/languages/nb/translate?project=&sta...
I'm attaching the two filter result pages (should be .htm, I changed to .txt to be allowed to upload)

Comments

gábor hojtsy’s picture

Hm, I can reproduce those listings showing / not showing those three things as you describe. Unfortunately I don't have the resources these days to delve into debugging these issues, I've called for help two months ago at http://localize.drupal.org/node/4124 to get people help with l.d.o, who are interesting in fixing issues and bringing the site forward. You can talk to sebcorbin or alippai to get a sanitized database dump of the site and reproduce / debug the issue to move this forward.

I'm seeing these suggestions are pretty old, and we might have introduced indexing for the suggestions and other status values more efficiently later. There should have been a full conversion of the old data, but it might have had bugs. Needs to be debugged in detail.

droplet’s picture

You can talk to sebcorbin or alippai to get a sanitized database dump of the site and reproduce / debug the issue to move this forward.

PM them directly or .... ?

gábor hojtsy’s picture

Yes, you can use their d.o contact forms.

droplet’s picture

I got the mysqldump (snapshot-125, 04-10-2011), everything work well. My version is too old that has more translation.

on the live site, the stats is not match:
http://localize.drupal.org/translate/languages/nb/translate?project=&sta...

30 suggestions

homepage shows:
(47 suggestions awaiting approval)

zirvap’s picture

Thanks for looking at this, droplet. I can try accepting/rejecting the remaining suggestions (will take a bit of time, there's discussion on some of the terms), and see what happens.

It should be possible to keep number of open suggestions low for a time for nb, so it'll be easier to see if the problem occurs with new suggestions as well.

zirvap’s picture

OK, I've accepted, rejected, and edited some suggestions, and now several new ones have appeared:

http://localize.drupal.org/translate/languages/nb/translate?sid=552769
http://localize.drupal.org/translate/languages/nb/translate?sid=786434
http://localize.drupal.org/translate/languages/nb/translate?sid=786439
http://localize.drupal.org/translate/languages/nb/translate?sid=786464
(Strings for Exercise Planner, suggested in March and April this year.)

These are suggestions for translated strings.

zirvap’s picture

StatusFileSize
new119.73 KB

I don't know if it's related, but there's something wrong in the number of results shown as well. See attached screen dump: There should be 5 results per page, but only 3 are shown.

droplet’s picture

zirvap’s picture

I've tested a bit more on the live site, accepting, rejecting, and adding suggestions.

The age of the suggestion does not seem to be relevant. Both old and brand new suggestions can disappear from the "any"-view.

Suggestions with higher SID are more likely to disappear than those with low SID. (It looks like it’s always the suggestions with the highest SID that disappear, but I’m not 100% certain.)

There doesn’t appear to be any fixed number or percentage of strings showing/missing, although something seems to happen around ~20 suggestions. Tonight I’ve had:

  • 28 suggestions in total, 7 missing in “any”-view
  • 27 - 7
  • 26 - 6
  • 25 - 5
  • 24 - 4
  • 21 - 3
  • 22 - 2
  • 23 - 3
  • 19 - 0
  • 20 - 0
  • 21 - 0
  • 22 - 1
zirvap’s picture

Issue summary: View changes

(fixing typos)