Last modified: 2013-10-30 11:30:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37648, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35648 - parserTests.php doesn't like git
parserTests.php doesn't like git
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.19
All All
: Normal normal (vote)
: ---
Assigned To: Marcin Cieślak
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-02 17:14 UTC by Platonides
Modified: 2013-10-30 11:30 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Platonides 2012-04-02 17:14:18 UTC
tests/parserTests.php works in a svn checkout 
 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3?view=log

But it fails in git, even on 4b8e45d60472ae6a0b5c4ad8728a476ad530519b (r114354)

It stops with:

A database error has occurred.  Did you forget to run maintenance/update.php after upgrading?  See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: DELETE FROM `parsertest_objectcache` WHERE keyname = 'my_wiki-parsertest_:messages:aa'
Function: SqlBagOStuff::delete
Error: 1146 Table 'my_wiki.parsertest_objectcache' doesn't exist (localhost)

It's the old bug of DB_CACHE being chosen for DB_ANYTHING before it's replaced by parserTest.inc:792
Comment 1 Platonides 2012-04-02 22:17:57 UTC
It was doing through a different path in svn.
SpecialVersion::getVersion() called wfMsg(), which used the SqlBagOStuff before the DB cloning.

So it had been broken for a long time outside a svn checkout.

Added a fix in https://gerrit.wikimedia.org/r/4111
Comment 2 Antoine "hashar" Musso (WMF) 2012-06-12 14:40:27 UTC
I have sent a friendly remember to Platonides.
Comment 3 Tim Landscheidt 2012-09-21 21:59:11 UTC
AFAIUI, this has been fixed by Gerrit change #3962.  Please re-open otherwise.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links