[Wikidata-bugs] [Maniphest] [Edited] T134735: [Task] Do not assume all entity types have fingerprints/labels/descriptions/aliases

2017-02-27 Thread thiemowmde
thiemowmde edited the task description. (Show Details) EDIT DETAILS...* [x] https://gerrit.wikimedia.org/r/339912 * [ ] https://github.com/wmde/WikibaseDataModelServices/pull/171TASK DETAILhttps://phabricator.wikimedia.org/T134735EMAIL

[Wikidata-bugs] [Maniphest] [Edited] T134735: [Task] Do not assume all entity types have fingerprints/labels/descriptions/aliases

2017-02-26 Thread thiemowmde
thiemowmde edited the task description. (Show Details) EDIT DETAILSThis is an issue mostly in tests, but also in some production code, e.g. search handler hooks, history actions and so on. Code gets an Entity(Document) and calls `getFingerprint` without checking if the entity supports this.