Matthias Mullie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/218686
Change subject: Don't rely on __toString
......................................................................
Don't rely on __toString
UUID's __toString warns when it's called & this was one that I had
apparently missed.
Change-Id: Ib3a43c43d7b07e00ff892710fa4288c57cc486fe
---
M includes/Formatter/AbstractQuery.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/86/218686/1
diff --git a/includes/Formatter/AbstractQuery.php
b/includes/Formatter/AbstractQuery.php
index a0df73b..50669d7 100644
--- a/includes/Formatter/AbstractQuery.php
+++ b/includes/Formatter/AbstractQuery.php
@@ -333,7 +333,7 @@
throw new \MWException( 'Did not locate root post ' .
$rootPostId->getAlphadecimal() );
}
if ( !$rootPost->isTopicTitle() ) {
- throw new \MWException( "Not a topic title: " .
$rootPost->getRevisionId() );
+ throw new \MWException( "Not a topic title: " .
$rootPost->getRevisionId()->getAlphadecimal() );
}
return $rootPost;
--
To view, visit https://gerrit.wikimedia.org/r/218686
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3a43c43d7b07e00ff892710fa4288c57cc486fe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits