zotero/chrome
Dan Stillman 9ba3745b94 Don't clear md5/mtime in item JSON if skipped in patch mode
The client skips synced storage properties (md5, mtime) when uploading items to
ZFS-enabled libraries, but since the API returns JSON with those values
included after writes, they do get saved to the sync cache. If the local
attachment is then modified and the client generates a diff from the cached
version with those properties skipped, they'll be included in the patch JSON as
empty strings in order to clear them. This changes Zotero.Item::toJSON() to
skip those properties in patch mode as well.

This fixes a sync error ("Cannot change 'md5' directly in group library") when
a group attachment is updated locally.
2016-08-15 04:38:04 -04:00
..
content Don't clear md5/mtime in item JSON if skipped in patch mode 2016-08-15 04:38:04 -04:00
locale Prompt to reset library data/files on loss of write access 2016-07-19 19:05:17 -04:00
skin/default/zotero Fix error on CR of child note, and show parent item title in merge pane 2016-07-07 05:18:02 -04:00