https://bugzilla.wikimedia.org/show_bug.cgi?id=46716
--- Comment #29 from Nemo <[email protected]> --- (In reply to Niklas Laxström from comment #26) > Or, we could have some bright person (Not me... But one can try.) > read the code and find the cause. I > have spent hours on that without success. In case anyone is interested, have > a look at TranslatablePageRenderJob.php. Line 52 there is a call to > TPParse::getTranslationPageText(). That method calls on line 182 > MessageCollection::loadTranslations( DB_MASTER ), which should, in my > opinion, see the latest version, but apparently it does not. Isn't it possible to use some logging? For instance: * do we know from the logs if the exception "Oops, this should not happen!" is thrown; * the function is passed the result of initCollection() which reads from MessageGroupCache, can't something go wrong there; * in MessageCollection, loadTranslations() calls some functions to which DB_MASTER is passed, but initMessages() doesn't even tell whether it did something or not, it passes if $messages is already defined (from where?) and otherwise does $messages = array(); $definitions = $this->definitions->getDefinitions(); > This all is > executed in a subscriber to hook PageContentSaveComplete. The same hook is attached to run addReadyTag() which inserts in revtag table, is the DB happy about that? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
