Don't normalize primary data values in Item.setField()

Just enforce proper data types
This commit is contained in:
Dan Stillman 2020-06-21 02:18:06 -04:00
parent cca5dc0314
commit bb0a1dab13
2 changed files with 21 additions and 13 deletions

View file

@ -141,7 +141,7 @@ describe("Zotero.DataObject", function() {
var obj = createUnsavedDataObject(type);
var id = yield obj.saveTx();
obj.synced = 1;
obj.synced = true;
yield obj.saveTx();
if (type == 'item') {