zotero/test
Dan Stillman 52fd91950d Fix deleted item fields reappearing on sync
This was a regression from 4b60c6ca27. The original plan for introducing
new fields was to have them save to the sync cache even if they weren't
supported by the current Zotero version and process them on upgrade, and
so I changed `DataObjectUtilities.patch()` to omit fields that didn't
exist locally when patching the sync cache JSON so they wouldn't be
wiped on the server. That caused this bug where locally deleted fields
were restored on every sync. It's also no longer necessary now that
we decided to just reject unknown fields from saving, so we can just
revert to the previous behavior of blanking out locally missing fields
(with the tweak that fields that are already false or empty in the base
version can be omitted).
2019-10-24 01:22:00 -04:00
..
components Add -e flag to runtests.sh to stop tests after a given file 2017-06-20 05:48:38 -04:00
content Merge branch 'fx60' 2019-10-21 21:44:01 -04:00
resource Update httpd.js to Fx60 version 2019-08-27 05:30:11 -04:00
tests Fix deleted item fields reappearing on sync 2019-10-24 01:22:00 -04:00
chrome.manifest Unit testing infrastructure 2015-03-07 16:34:55 -05:00
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Use modified Firefox executable from zotero-standalone-build in tests 2019-08-27 00:47:39 -04:00