Bug 1009191

Summary: Content spec warning validation messages is incorrect
Product: [Community] PressGang CCMS Reporter: Lee Newson <lnewson>
Component: CCMS-CoreAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: juwu
Target Milestone: ---   
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1008797 Environment:
Last Closed: 2013-10-17 23:49:42 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:

Description Lee Newson 2013-09-17 23:59:47 UTC
+++ This bug was initially created as a clone of Bug #1008797 +++

Splitting this since the original bug had three problems in one report.

Description of problem:

The warning message for topic titles that have been replaced due to mismatching titles isn't very helpful. It should be something like: "Possible Invalid Topic! The specified topic title didn't match and was replaced, please check that you used the right topic."

Comment 1 Lee Newson 2013-09-18 00:57:17 UTC
Fixed in 1.2-SNAPSHOT Build 201309181050

The text is now:

Possible Invalid Topic! The specified topic title doesn't match, so it was replaced. Please verify that the topic used was correct.

The text for invalid relationship titles is:

Possible Invalid Relationship! The topic/target relationship title specified doesn't match the actual topic/target title, so it was replaced. Please verify that the topic/target used was correct.

Comment 2 Lee Newson 2013-10-09 04:48:03 UTC
This version is currently live on the dev server.

Comment 3 Lee Newson 2013-10-09 04:50:44 UTC
Tested by changing setting this in a content spec:

About [254]

When saving this was the error message:

WARN:  Line 24: Possible Invalid Topic! The specified topic title doesn't match, so it was replaced. Please verify that the topic used was correct.
       -> Specified: About
       -> Topic 254: About the Red Hat Customer Portal

and the topic was adjusted in the content spec to:

About the Red Hat Customer Portal [254]