Bug 852920

Summary: Can add multiple tags to a topic from a group that should be exclusive
Product: [Community] PressGang CCMS Reporter: Lee Newson <lnewson>
Component: REST-APIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 852918 Environment:
Last Closed: 2013-07-01 23:34:46 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 Lee Newson 2012-08-30 02:35:17 UTC
+++ This bug was initially created as a clone of Bug #852918 +++

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 Lee Newson 2012-11-23 04:56:20 UTC
Fixed in 20121111-0821.

The server will now throw a 400 status when you try to add/update a topic with mutually exclusive tags.