leonkt / zotero-memento

Zotero extension that combats link rot by archiving webpages and journal articles.
MIT License
295 stars 14 forks source link

manual "Archive this Resource" -> "Internet Archive" overwrites existing content in "extra" field #4

Closed paregorios closed 4 years ago

paregorios commented 4 years ago

Environment:

Steps to reproduce:

  1. Install Zotero Memento using downloaded xpi from GitHub Release and restart Zotero standalone.
  2. In Zotero standalone interface: a. Navigate to a group library in which you have full permissions. b. Select an item that has valid content in the URL field, an "extra" field that contains text. c. Using the context menu on that item, select "Archive this Resource" -> "Internet Archive". __d. Observe that the "extra" field gets overwritten with an Internet Archive link, destroying the pre-existing content.

Suggested alternative behavior:

If the "extra" field has non-whitespace content, append the Internet Archive link to the existing content after inserting a delimiter like ";". Alternatively, omit writing the Internet Archive link to a non-empty extra field and just rely on the "note" attachment mechanism, but see issue #3.

paregorios commented 4 years ago

NB: overwrite of non-empty "extra" field occurs in both personal and group libraries.

leonkt commented 4 years ago

now retains the extra field; working on the group library issue.