-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
quay-v3.17.0
-
False
-
-
False
-
-
Summary
When a user selects only immutable tags in the new UI and attempts to delete them, the UI displays a blank green success notification (empty title) instead of an informative message explaining that no tags were deleted because all selected tags are immutable.

Root Cause Analysis
Flow:
- User selects only immutable tags in TagsToolbar
- TagsToolbar filters out immutable tags: selectedMutableTags = [] (lines 53-62)
- DeleteModal receives empty props.tags array (line 255-256)
- bulkDeleteTags([]) succeeds (no operations attempted, no errors thrown)
- Success handler executes useEffect (lines 32-65)
- Switch statement has NO case for props.tags.length === 0
- alert.title remains empty string ""
- User sees blank notification with green checkmark
Affected Code Files:
- web/src/routes/RepositoryDetails/Tags/DeleteModal.tsx (lines 32-65) - Success handler missing edge case
- web/src/routes/RepositoryDetails/Tags/TagsToolbar.tsx (lines 53-62, 255-256) - Filters immutable tags
- web/src/resources/TagResource.ts (lines 269-296) - Returns success for empty array
Reproduction Steps
- Navigate to repository with immutable tags
- Select ONLY immutable tags (e.g., tags matching immutability policy pattern)
- Click "Actions" → "Delete Tags"
- Click "Delete" in confirmation modal
- Observe: Blank green notification appears (no title text)
Expected Behavior
User should see a warning notification:
Title: No tags deleted Message: All selected tags are immutable and cannot be deleted: tag1, tag2, tag3
Actual Behavior
User sees a blank green success notification with no title text.
Impact
User Experience:
- Confusing blank notification
- No feedback about why deletion "succeeded" without deleting anything
- Users may think there's a UI bug or data loss
Severity: Medium
- Affects usability for repositories with immutability policies
- Does not cause data loss or security issues
- Cosmetic/UX issue
Related Features
- Immutability policies (namespace and repository level)
- Tag bulk operations
- PatternFly alert notifications