apache / security-vulnogram

Vulnogram is a tool for creating and editing CVE information in CVE JSON format
https://vulnogram.github.io/
MIT License
5 stars 4 forks source link

Fix Histories in wrong collection #97

Closed raboof closed 1 year ago

raboof commented 1 year ago

Cause: while refactoring doc.js in V1.0.0, one of the variables was global, which meant it pointed to the last document collection. Thats where all the document change histories went instead of the corresponding collection.

Cherry-picked from 5994b27ad4811d28c0aa5a4800842b3d93b7bad6 and fixed conflicts.

Verified in the database that:

Tested locally that this PR makes CVE5 histories disappear, and then reappear when I copy the entries from nvd_histories to cve5_histories.

I propose we treat this migration as follows:

Fixes #35

raboof commented 1 year ago

Done as planned, looks good AFAICS, let's monitor this for a bit