[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 484224 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Revert "EntityContent, factor patchCopyWithEntityDiff out of getPatchedCopy" https://gerrit.wikimedia.org/r/484224TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 483195 merged by jenkins-bot: [mediawiki/extensions/WikibaseLexeme@master] Allow setting Lexeme language and lex category to null https://gerrit.wikimedia.org/r/483195TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 484224 had a related patch set uploaded (by Addshore; owner: Addshore): [mediawiki/extensions/Wikibase@master] Revert "EntityContent, factor patchCopyWithEntityDiff out of getPatchedCopy" https://gerrit.wikimedia.org/r/484224TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 483419 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] EntityContent, factor patchCopyWithEntityDiff out of getPatchedCopy https://gerrit.wikimedia.org/r/483419TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 483419 had a related patch set uploaded (by Addshore; owner: Addshore): [mediawiki/extensions/Wikibase@master] EntityContent, factor patchCopyWithEntityDiff out of getPatchedCopy https://gerrit.wikimedia.org/r/483419TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
gerritbot added a comment. Change 483195 had a related patch set uploaded (by Addshore; owner: Addshore): [mediawiki/extensions/WikibaseLexeme@master] Allow setting Lexeme language and lex category to null https://gerrit.wikimedia.org/r/483195TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, gerritbotCc: gerritbot, Lucas_Werkmeister_WMDE, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T204041: Fatal error when restoring Lexeme "merge" revision: Argument passed to Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity
Addshore added a comment. Can reproduce locally [8780cea5a9da1132dc103722] /mediawiki/index.php?title=Lexeme:L1="" TypeError from line 235 of /var/www/mediawiki/extensions/WikibaseLexeme/src/Domain/Model/Lexeme.php: Argument 1 passed to Wikibase\Lexeme\Domain\Model\Lexeme::setLexicalCategory() must be an instance of Wikibase\DataModel\Entity\ItemId, null given, called in /var/www/mediawiki/extensions/WikibaseLexeme/src/Domain/Diff/LexemePatcher.php on line 83 Backtrace: #0 /var/www/mediawiki/extensions/WikibaseLexeme/src/Domain/Diff/LexemePatcher.php(83): Wikibase\Lexeme\Domain\Model\Lexeme->setLexicalCategory(NULL) #1 /var/www/mediawiki/vendor/wikibase/data-model-services/src/Diff/EntityPatcher.php(40): Wikibase\Lexeme\Domain\Diff\LexemePatcher->patchEntity(Wikibase\Lexeme\Domain\Model\Lexeme, Wikibase\Lexeme\Domain\Diff\LexemeDiff) #2 /var/www/mediawiki/extensions/Wikibase/repo/includes/Content/EntityContent.php(590): Wikibase\DataModel\Services\Diff\EntityPatcher->patchEntity(Wikibase\Lexeme\Domain\Model\Lexeme, Wikibase\Lexeme\Domain\Diff\LexemeDiff) #3 /var/www/mediawiki/extensions/Wikibase/repo/includes/Actions/SubmitEntityAction.php(160): Wikibase\EntityContent->getPatchedCopy(Wikibase\Repo\Content\EntityContentDiff) #4 /var/www/mediawiki/extensions/Wikibase/repo/includes/Actions/SubmitEntityAction.php(113): Wikibase\SubmitEntityAction->getPatchContent(Revision, Revision, Revision) #5 /var/www/mediawiki/extensions/Wikibase/repo/includes/Actions/SubmitEntityAction.php(66): Wikibase\SubmitEntityAction->undo() #6 /var/www/mediawiki/includes/MediaWiki.php(501): Wikibase\SubmitEntityAction->show() #7 /var/www/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title) #8 /var/www/mediawiki/includes/MediaWiki.php(862): MediaWiki->performRequest() #9 /var/www/mediawiki/includes/MediaWiki.php(517): MediaWiki->main() #10 /var/www/mediawiki/index.php(42): MediaWiki->run() #11 {main}TASK DETAILhttps://phabricator.wikimedia.org/T204041EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: Lucas_Werkmeister_WMDE, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs