Page MenuHomePhabricator

Snak value (and editor) disappears after clicking edit/cancel two times
Closed, DeclinedPublic

Description

Edit, cancel, edit, cancel, edit, ... broken

I did this as an unregistered user. All I did was hitting edit, cancel, edit, cancel, edit. The value and the editor both disappeared (upper half of the image shows expected, lower half the broken behavior).

I wasn't able to reproduce this on wikidata.org. But it's very easy to reproduce on my development system.

It seems it has something to do with the qualifier I added. In my example the qualifier repeats both the property and the value from the snak.


Version: master
Severity: normal
Whiteboard: u=dev c=frontend p=0

Attached:

Bildschirmfoto_vom_2014-04-07_14:38:14_.png (412×840 px, 50 KB)

Details

Reference
bz63622

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:20 AM
bzimport set Reference to bz63622.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Aude from comment #1)

duplicate of bug 63566 ?

Maybe. It must be very closely related. I tried again and noticed:

1st click on edit: I get an edit field with the value.
2nd click on edit: I get an empty edit field.
3rd click on edit: I don't get an edit field.

I can reproduce that only with item properties.

I feel like I might just have reproduces this (ish)

When I have 3 values for a property and save.
The I move the bottom snak to the top of the snaklist for the property and save the value for the snak moved (now the top snak) vanishes

http://new.tinygrab.com/1becbe2e7831f6932cb25bc625053db4031eaebb43.png

I cannot reproduce this. Please reopen if you can with very specific steps.