[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-08 Thread CBogen
CBogen edited projects, added Structured-Data-Backlog (Current Work); removed Structured-Data-Backlog. TASK DETAIL https://phabricator.wikimedia.org/T273506 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: CBogen Cc: MarkTraceur, CBogen, Cparle,

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-02 Thread CBogen
CBogen added a project: Structured-Data-Backlog. TASK DETAIL https://phabricator.wikimedia.org/T273506 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: CBogen Cc: MarkTraceur, CBogen, Cparle, WMDE-leszek, Addshore, Jdforrester-WMF,

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-02 Thread CBogen
CBogen added a comment. In T273506#6795550 , @Lucas_Werkmeister_WMDE wrote: > @CBogen @MarkTraceur can your team take care of this issue, since it seems to only affect Structured Data on Commons? (Apologies if I’m pinging the wrong

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-02 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added subscribers: CBogen, MarkTraceur. Lucas_Werkmeister_WMDE added a comment. @CBogen @MarkTraceur can your team take care of this issue, since it seems to only affect Structured Data on Commons? (Apologies if I’m pinging the wrong people.) TASK DETAIL

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. This also happens if the URL ends in `.html`, by the way, because that also triggers content negotiations, with other formats, such as `.json`, it correctly shows an error message that no such entity exists. I suppose `EntityDataUriManager` and

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Not sure what to do here, to be honest. `EntityContentFactory::getTitle()` is allowed to return `null`, according to the interface it implements: interface EntityTitleLookup { /** * Returns the Title for the given entity.

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Ah, I wondered why it only started happening recently. Thanks. TASK DETAIL https://phabricator.wikimedia.org/T273506 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc:

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Jdforrester-WMF
Jdforrester-WMF added a parent task: T272518: Watch for extensions broken by WikiPage now deprecating construction on bad titles. TASK DETAIL https://phabricator.wikimedia.org/T273506 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdforrester-WMF

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Jdforrester-WMF
Jdforrester-WMF added a comment. This is a specific instance of T272518: Watch for extensions broken by WikiPage now deprecating construction on bad titles . Just needs a check before execution, but eh. TASK DETAIL

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. Apparently those page IDs simply don’t exist, and this TypeError happens with any nonexistent page ID, e.g. Special:EntityData/M4 or M13

[Wikidata-bugs] [Maniphest] T273506: Sporadic “TypeError: Return value of EntityContentFactory::getTitleForId() must be an instance of Title, null returned” for Special:EntityData on Commons

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikimedia-production-error, Wikidata, SDC General, Commons. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: wdwb-tech-focus. TASK DESCRIPTION name=Error message