Bug 852918

Summary: Can add multiple tags to a topic from a group that should be exclusive
Product: [Community] PressGang CCMS Reporter: Dana Mison <dmison>
Component: Web-UIAssignee: pressgang-ccms-dev
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: mcaspers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 852920 (view as bug list) Environment:
Last Closed: 2012-12-04 23:13:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dana Mison 2012-08-30 02:13:41 UTC
When editing tags on a topic you can add multiple tags to a topic from a group that should be exclusive

Eg. you can add multiple topic types.

This might also apply to the different Priority tags as well (IA, SME, Engineering, PM, Nav

I'm going to guess and say that this was only enforced in the original UI.  It might be possible to bypass that constraint in the REST API.

Ideally this information (that a tag category can only have a single item selected in it for a given topic) should be a configuration item of the category and be enforced at least in the REST API, if not also in the model.

Comment 1 Matthew Casperson 2012-12-04 23:13:49 UTC
Fixed in 201212050901

When attempting to add a tag in a mutually exclusive category, the user will be prompted with all the tags that will be removed, and asked if they want to continue.