zotero/chrome/content
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
..
zotero Don't clear md5/mtime in item JSON if skipped in patch mode 2016-08-15 04:38:04 -04:00
zotero-platform Add a second horizontal layout to Zotero for small screens (#1010) 2016-05-27 20:57:29 -04:00