Deletion of item tags and tag types should generate alert and require confirmation

Bug #1984001 reported by Beth Willis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

EG 3-8-1

A user with the ADMIN_COPY_TAG permission may delete an item tag from the database even if that item tag has been added to one or more items. Deleting the tag removes the tag from the items. If a user attempts to delete an item tag that is associated with one or more items, an alert should display and require confirmation by the user that this is the desired action.

If a user deletes the last item with which an item tag is associated, it would be useful to display a message indicating that there aren't any other items using that tag, and asking if the user would like to delete the tag as well as the item. The user may want to retain the item tag, expecting to add it to other items in future.

A user with the ADMIN_COPY_TAG_TYPES permission may delete an item tag type from the database even if there are item tags associated with that item tag type. Deletion of the item tag type deletes all associated item tags and removes those tags from any items to which they had been added. If a user attempts to delete an item tag type that is associated with one or more item tags, an alert should display and require confirmation by the user that this is the desired action.

For both of the above actions, it is too easy for a user to perform an action that may have unintended consequences.

Tags: cat-itemtags
Beth Willis (willis-a)
description: updated
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Confirmed in 3.9.1 - item tag and item tag types delete with no warning to staff that they are in use

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Beth Willis (willis-a) wrote :

Confirming that this is still an issue in 3.11.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.