Taxonomy not updating when the version number is not an increase of 1 #183
Labels
help wanted
This is an issue that community can help with
T: bug
Type: bug report: This issue describes unexpected behaviour
Hey MISP crew,
I encountered this issue while trying to update an internal taxonomy. We used to increase the taxonomy version number by 0.1. For instance, my last version was 2.5 and my new version 2.6. When uploading the taxonomy (machinetag.json) file in the server -> update taxonomies from the UI, the taxonomy was not updated. I validate the taxonomy json file using the script machinetag.py but everything was fine. Later, I realize that the taxonomy number is rounded up when looking at the taxonomy description from the UI.
Then, I changed the version number to 4, updated the taxonomies again and boom it worked ! It seems that MISP is performing a round operation on the version number so I was getting version 3 for 2.5 and 2.6. Because the version number was the same, the taxonomy was not updated. Maybe adding a note about that in the project would help or simply accept decimal number for the version number.
Thanks !
The text was updated successfully, but these errors were encountered: