Page MenuHomePhabricator

Toolbar doesn't change when clicking "edit" on a Claim with a PropertyValue main Snak which uses a data value type which doesn't match the Snak's Property's DataType's data value type
Closed, ResolvedPublic


The toolbar doesn't change, instead it still says "edit" while everything else seems to work. Also using the ESC key to cancel edit mode does still work. Clicking "edit" again while still in edit mode has no effect.

The reason for this is that when clicking "edit", an error is thrown in jQuery.wikibase.snakview.prototype.isInitialSnak (last line of the function), "can not call mothod 'equals' of null".

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:14 AM
bzimport set Reference to bz45651.
bzimport added a subscriber: Unknown Object (MLST).
Danwe created this task.Mar 2 2013, 11:57 PM
Danwe added a comment.Mar 3 2013, 12:03 AM

See I179c161

Danwe added a comment.Mar 3 2013, 12:03 AM

Ok, I179c161c8dbf97c2787a0fad0dda99637a8d42a4

Verified in Wikidata demp sprint 35

Restricted Application added a project: Wikidata. · View Herald TranscriptJan 28 2016, 6:00 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript