Reedy has submitted this change and it was merged. Change subject: (Bug 41244) Gracefully handle failure to load text blob. ......................................................................
(Bug 41244) Gracefully handle failure to load text blob. This change fixes fatal errors ocurring when Revision::loadText returns false because of a failure to load the text blob. Revision::getContent() should simply return null in such a case. Change-Id: I1e13de14ff15b124b5a2e07155d368595a16fda7 --- M includes/Revision.php M tests/phpunit/includes/RevisionStorageTest.php 2 files changed, 38 insertions(+), 10 deletions(-) Approvals: Reedy: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/30624 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1e13de14ff15b124b5a2e07155d368595a16fda7 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Aude <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Demon <[email protected]> Gerrit-Reviewer: IAlex <[email protected]> Gerrit-Reviewer: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: Liangent <[email protected]> Gerrit-Reviewer: Reedy <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
