Bug 979881 - non-standard apostrophe in contentspec file and topic title causes csprocessor error
non-standard apostrophe in contentspec file and topic title causes csprocesso...
Product: PressGang CCMS
Classification: Community
Component: CSProcessor (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: pressgang-ccms-dev
Depends On:
  Show dependency treegraph
Reported: 2013-07-01 01:33 EDT by Julie
Modified: 2013-07-01 01:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-01 01:55:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Julie 2013-07-01 01:33:12 EDT
Description of problem:
If the apostrophes in the content spec file and topic title didn't match, csprocessor returns an error when validating. I think it used to work without an error. 

Actual results:
[asettle@dhcp-1-185 Insight]$ csprocessor push
CSProcessor client version: 0.33.1
Loading configuration from /home/asettle/.config/csprocessor.ini
Loading project configuration from csprocessor.cfg
Connecting to PressGang server: http://skynet.usersys.redhat.com:8080/TopicIndex/

Starting to parse...
Starting first validation pass...
Attempting to download all the latest topics...
Starting second validation pass...
ERROR: Line 503: Invalid Topic! Existing topic title doesn't match.
       -> Specified: To download a Timeline’s data
       -> Topic 15485: To download a Timeline's data
ERROR: The Content Specification is not valid.

Expected results:
csprocessor to function as normal
Comment 1 Lee Newson 2013-07-01 01:55:23 EDT
This is expected behaviour as the titles technically don't match. If you know all the title mismatches are just due to a topic title rename and not from using the wrong topic then you can add the "--permissive" (or "-p" for short) option to fix the titles up when the Content Spec is saved.

Note You need to log in before you can comment on or make changes to this bug.