Daniel Kinzler has uploaded a new change for review. https://gerrit.wikimedia.org/r/81232
Change subject: Fix call to non-existing method in error case. ...................................................................... Fix call to non-existing method in error case. Change-Id: Id85d3182a8aaba53a3c863c12adefe0ec537f387 --- M lib/includes/TypedValueFormatter.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/32/81232/1 diff --git a/lib/includes/TypedValueFormatter.php b/lib/includes/TypedValueFormatter.php index 05f430e..c4f7fe0 100644 --- a/lib/includes/TypedValueFormatter.php +++ b/lib/includes/TypedValueFormatter.php @@ -37,7 +37,7 @@ // in the DataTypes library have been made. if ( $dataValue->getType() === 'bad' ) { - throw new IllegalValueException( $dataValue->getError() ); + throw new IllegalValueException( $dataValue->getReason() ); } $valueFormatters = $dataType->getFormatters(); -- To view, visit https://gerrit.wikimedia.org/r/81232 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id85d3182a8aaba53a3c863c12adefe0ec537f387 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Daniel Kinzler <daniel.kinz...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits