VIE icon indicating copy to clipboard operation
VIE copied to clipboard

Entity.setOrAdd() duplicate entries

Open neogermi opened this issue 12 years ago • 1 comments

var z = new VIE();
z.entities.add({'@subject': 'http://example.org/EricClapton'});
var clapton = z.entities.get('http://example.org/EricClapton');
clapton.setOrAdd('plays', 'guitar');
clapton.setOrAdd('plays', 'vocals');

The above results that the plays attribute now has three elements: ["guitar", "vocals", "vocals"].

A bugfix for this is on it's way.

neogermi avatar May 31 '12 08:05 neogermi

Why is the status still "Open" ? This seems to be fixed according to the pervious comment.

akuckartz avatar Sep 15 '12 07:09 akuckartz