wbeditentity permits claim property to be changed, however the diff doesnt display correctly
Closed, ResolvedPublic

Description

An API call to wbeditentity, that uses the existing claim guid, is able to change the property of the claim.

See

https://www.wikidata.org/w/index.php?title=Q6240488&diff=114789738&oldid=114788831

In the diff, the presentation assumes the property of the claim is the same before and after.

However in the previous revision, there was a 'title' claim. In the modified revision, there is a 'birth name' claim.

Either the API or the Diff logic is wrong.


Version: unspecified
Severity: critical
Whiteboard: u=dev c=backend p=5 s=2014-04-01

bzimport added a subscriber: wikidata-bugs.
bzimport set Reference to bz62425.
jayvdb created this task.Via LegacyMar 8 2014, 4:17 AM
Addshore added a comment.Via ConduitMar 9 2014, 1:22 PM

It would seem the Diff logic is wrong :)

Lydia_Pintscher added a comment.Via ConduitMar 9 2014, 7:51 PM

It should not be possible to change the property.

gerritbot added a comment.Via ConduitMar 24 2014, 3:22 PM

Change 120537 had a related patch set uploaded by Daniel Kinzler:
(bug 62425) Property of main snak must not change.

https://gerrit.wikimedia.org/r/120537

aude added a comment.Via ConduitMar 25 2014, 4:09 PM

note, it's also possible to add a snak with mismatching property data type and data value

gerritbot added a comment.Via ConduitApr 2 2014, 3:14 PM

Change 120537 merged by jenkins-bot:
(bug 62425) Property of main Snak must not change

https://gerrit.wikimedia.org/r/120537

Tobi_WMDE_SW added a comment.Via ConduitApr 2 2014, 4:16 PM

(In reply to Aude from comment #5)

note, it's also possible to add a snak with mismatching property data type
and data value

this will be solved by bug 62644

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.