9ba3745b94
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. |
||
---|---|---|
.. | ||
content | ||
locale | ||
skin/default/zotero |