zotero/test
Dan Stillman 9a7486e53c Prevent setting search .name to empty value
Prevents bug in zotero-citation plugin (at least on macOS) from creating
a search that breaks syncing

We were already checking for a missing name in `saveTx()`, but the
plugin is saving the same search twice in rapid succession, the second
time without a name, and the second attempt clears the search object's
name value after the first save's `_initSave()` check and before its SQL
write. The second save fails, but the first save goes through without a
name, resulting in a sync error.

https://forums.zotero.org/discussion/104274/id-1702002152-cannot-sync
https://github.com/MuiseDestiny/zotero-citation/issues/31
2023-04-11 23:48:07 -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 Prevent setting search .name to empty value 2023-04-11 23:48:07 -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