Mvolz created this task.
Mvolz added projects: Wikidata, Wikibase-Quality-Constraints, DataValues, MediaWiki-Vagrant.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION

On vagrant I got the following error when trying to install wikibase:

MediaWiki internal error.

Original exception: [5d98d62860f7a9ca3425d9b6] /wiki/Main_Page InvalidArgumentException from line 54 of /vagrant/mediawiki/extensions/WikibaseQualityConstraints/vendor/data-values/serialization/src/Deserializers/DataValueDeserializer.php: $builders must map data types to callables or class names. 'DataValues\Geo\Values\GlobeCoordinateValue' is not a DataValue class.

I have traced this to this release of geo: https://github.com/DataValues/Geo#410-2018-10-29
"GlobeCoordinateValue no longer extends DataValueObject"

This release increased the minor version, but not the major version, which is needed for things which are not backwards compatible.

It is (apparently?) incompatible with the deserialiser, which hasn't released a new version since last year: https://github.com/DataValues/Serialization

However composer automatically updated this. I have checked the composer.lock file and it says

"require-dev": {
    "data-values/geo": "~3.0",

Which I THINK was responsible for installing this version. It will apparently update to any 4.0 version but not to 5.0. So one possible fix is just to re-release it as 5.0.0 which I think should have been done but not sure you can fix it in retrospect, or to be more strict with the dev version.


TASK DETAIL
https://phabricator.wikimedia.org/T208500

WORKBOARD
https://phabricator.wikimedia.org/project/board/71/

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mvolz
Cc: Aklapper, Mvolz, Nandana, Lahi, jgleeson, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, LawExplorer, Agabi10, Luke081515, Wikidata-bugs, aude, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to