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 set Reference to bz62425.
bzimport added a subscriber: Unknown Object (MLST).
jayvdb created this task.Mar 8 2014, 4:17 AM

It would seem the Diff logic is wrong :)

It should not be possible to change the property.

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.Mar 25 2014, 4:09 PM

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

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

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

(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