zotero/test
Dan Stillman 8992efc869 Fix potential sync error after Replace Online Library in group
https://forums.zotero.org/discussion/104431/syncing-problem

Replace Online Library can upload annotations created by others in a
group library, so if the upload resulted in a local write, "Cannot edit
item in library" was thrown, since annotations by others aren't
writable. This should've only been a problem if the uploaded data was
actually modified by the server, but we were also checking whether
objects were editable before checking if they had actually changed, so
it would happen for any upload of another person's annotation.

This fixes the order of checks when saving objects and makes an
edit-check exception for saving uploaded data for group annotations.
2023-04-21 06:52:08 -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 Write out path when generating item type/field data for tests 2023-03-23 01:37:29 -04:00
resource Update httpd.js to Fx60 version 2019-08-27 05:30:11 -04:00
tests Fix potential sync error after Replace Online Library in group 2023-04-21 06:52:08 -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 Reset accidental change from 7fcc1d35 2022-10-26 04:38:19 -04:00