Snapshot urls continue to be exported even after deletion.
Steps to reproduce:
Paste into an editor. Observe ...
@online{barbour_2017_conservative,
author = {Barbour, political reporter Lucy},
...
file = {Snapshot:C\:\Users\John\Documents\CustomData\Direct\Live\Zotero\storage\YL92HK6A\9131826.html:text/html},
...
That is, as expected a file = {Snapshot
url exists.
In Zotero click on the record's triangle near the title to open up the snapshot record underneath.
Paste into your editor and observe the exported record is unchanged. Specifically, ...
file = {Snapshot:C\:\Users\John\Documents\CustomData\Direct\Live\Zotero\storage\YL92HK6A\9131826.html:text/html}
... remains, when it shouldn't.
In addition, for a record that had its snapshot removed: restarting Zotero doesn't remove the snapshot url on export.
I'm on Zotero 5.0.24. Firefox 57.0 (64bit). zotero-better-bibtex-5.0.31.4637.issue-590.xpi. Note this arouse while testing in the #590 branch.
This is likely a cache invalidation problem, in turn likely caused by zotero not notifying parent references as changed when their children do.
I'm on the go right now, but could you shut down zotero, go into your zotero directory, subdirectory better-bibtex, remove cache.json, and retry the export (so not the removal, do that before)? If that gets you the correct output I'll have confirmation.
Yes deleting ...\Zotero\better-bibtex\cache.json and retrying the export did indeed produce the correct output (Snapshot url no longer exported).
:robot: this is your friendly neighborhood build bot announcing test build 4666 ("fixes #771").
That fixes it! :)
:robot: this is your friendly neighborhood build bot announcing test build 4667 ("fixes #771").
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.