To test:
1) add copy tags to an item
2) verify from the database end that the copy tags were created (asset.copy_tag) and mapped (asset.copy_tag_copy_map).
3) delete the item - you will see the asset.copy_tag_copy_map rows still in place
4) apply this fix
5) repeat steps 1-3 and verify that the asset.copy_tag_copy_map rows are now gone.
I have a branch that works for me in removing item tag mappings upon item deletion:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ csharp/ lp1761615_ delete_ copy_tags_ on_copy_ delete
To test: copy_tag_ copy_map) . tag_copy_ map rows still in place tag_copy_ map rows are now gone.
1) add copy tags to an item
2) verify from the database end that the copy tags were created (asset.copy_tag) and mapped (asset.
3) delete the item - you will see the asset.copy_
4) apply this fix
5) repeat steps 1-3 and verify that the asset.copy_