dradis / dradis-ce

Dradis Framework: Collaboration and reporting for IT Security teams
https://dradis.com/ce/
GNU General Public License v2.0
672 stars 190 forks source link

When an Issue with a tag is deleted, when it is recovered from Trash, the tag is lost #236

Closed dormi closed 2 years ago

dormi commented 6 years ago

Steps to reproduce

Create an issue, assign a tag to it, delete the issue Go to Trash, recover the issue

Expected behavior

The tag should be there again

Actual behavior

The tag is lost

System configuration

Dradis version: DradisPro 2.9.0 (but probably happens CE too)

Ruby version: 2.4.1

OS version: Debian 9, MacOs 10.12

dormi commented 5 years ago

Possible solution:

When deleting the issue, add a Tags field with the tag When recovering the issue, call tag_from_field_content! on it

MattBudz commented 2 years ago

Closing due to inactivity. This is noted but not on our roadmap to address. Feel free to re-open with new/additional info.