Page MenuHomePhabricator

Client fails with fatal error: Argument 1 passed to Wikibase\TermSqlIndex::__construct() must be an instance of Wikibase\StringNormalizer, string given
Closed, ResolvedPublic

Description

The client fails with a fatal error (at least) when rendering a page that uses item labels or accesses properties by label:

Catchable fatal error: Argument 1 passed to Wikibase\TermSqlIndex::__construct() must be an instance of Wikibase\StringNormalizer, string given

This is caused by a change in TermSqlIndex's constructor and my failure to update DirectSqlStore accordingly.


Version: unspecified
Severity: blocker

Details

Reference
bz51099

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:08 AM
bzimport set Reference to bz51099.
bzimport added a subscriber: Unknown Object (MLST).

Change 72835 had a related patch set uploaded by Daniel Kinzler:
Fix construction of TermSqlIndex in client.

https://gerrit.wikimedia.org/r/72835

Change 72843 had a related patch set uploaded by Daniel Kinzler:
Adding tests for DirectSqlStore

https://gerrit.wikimedia.org/r/72843

Change 72835 merged by Jeroen De Dauw:
(bug 51099) Fix construction of TermSqlIndex in client.

https://gerrit.wikimedia.org/r/72835

Change 72843 merged by Jeroen De Dauw:
(bug 51099) Adding tests for DirectSqlStore

https://gerrit.wikimedia.org/r/72843

Verified in Wikidata demo time July 17th

Change 74544 had a related patch set uploaded by Aude:
(bug 51099) Fix construction of TermSqlIndex in client.

https://gerrit.wikimedia.org/r/74544

Change 74544 abandoned by Aude:
(bug 51099) Fix construction of TermSqlIndex in client.

Reason:
not the same issue

https://gerrit.wikimedia.org/r/74544