Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 807631 - Duplicated bracket types found error
Summary: Duplicated bracket types found error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-28 11:39 UTC by Joshua Wulf
Modified: 2014-10-19 23:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 23:21:52 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2012-03-28 11:39:09 UTC
cspclient-0.22.5-1.noarch


[jwulf@nitai scratch]$ csprocessor create Test_Book_Template.contentspec 
CSProcessor client version: 0.22.5
Loading configuration from /home/jwulf/.config/csprocessor.ini
Connecting to Skynet server: http://skynet.usersys.redhat.com:8080/TopicIndex/

ERROR: Line 17: Duplicated bracket types found.
       -> This Book [N, Concept] [Content Spec Processor Tutorial Material]
ERROR: Line 17: Duplicated bracket types found.
       -> This Book [N, Concept] [Content Spec Processor Tutorial Material]
ERROR: The Content Specification is not valid.


Changing the line to:   

This Book [N, Concept, Content Spec Processor Tutorial Material]

works fine. Which is strange, because I've been using 

Title [N, {TopicType}] [{Tags}]

consistently with succcess. First time I've seen this error.

Comment 1 Lee Newson 2012-03-28 23:21:52 UTC
Well the second should always produce an error so that is the bug. It is invalid syntax and that shouldn't change. The syntax is supposed to be:

New topics:
<TITLE> [<ID>, <TYPE>, <TAGS>, <URLS>, <DESCRIPTION>] [RELATED TOPICS] [PREREQUISITE TOPICS] [TARGET]

Other Topics:
<TITLE> [<ID>, <TAGS>, <URLS>, <DESCRIPTION>] [RELATED TOPICS] [PREREQUISITE TOPICS] [TARGET]

So basically:

<Human Readable Title> <Topic Information> <Extra components about how the topic should be used in the CS>

As for the fact that you've been using "Title [N, {TopicType}] [{Tags}]" I can't find any records of it and cannot replicate it.


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