Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
TaxonHistoryItem changes are not always undoable #158
Comments
jonkerz
added the
bug
label
May 28, 2016
jonkerz
referenced
this issue
Dec 20, 2016
Open
AntCat is not updating name links in taxonomic histories, as it was before #157
|
The same thing is true for synonyms. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jonkerz commentedMay 28, 2016
Any edit that reaches this line: https://github.com/calacademy-research/antcat/blob/69e4f57686ff2cf0aecad2823fb6d7b35e2a2cdc/app/models/taxa/save_taxon.rb#L85 will not be completely undoable.
#update_all(Rails method) doesn't run callbacks which meansTaxonHistoryItems aren't saved in PaperTrail whenever they are changed, which means these changes are not reverted when the change is undone via the undo button.