Bug 752996 - Process content spec on build
Summary: Process content spec on build
Keywords:
Status: CLOSED CURRENTRELEASE
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: 751253
TreeView+ depends on / blocked
 
Reported: 2011-11-11 01:19 UTC by Joshua Wulf
Modified: 2014-10-19 22:59 UTC (History)
2 users (show)

Fixed In Version: 0.17.0
Clone Of:
Environment:
Last Closed: 2011-11-25 00:00:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2011-11-11 01:19:53 UTC
With Topic Maps, the Content Spec is no longer guaranteed to have the same structure when it is built as when it was pushed. 

Topic Maps may be included in a Content Spec, and may be edited after the Content Spec is pushed. 

When this happens the structure of the content spec changes, and it will need to be updated for the build to reflect the latest structure.

So: process the content spec on build.

Comment 1 Lee Newson 2011-11-17 00:14:55 UTC
The program has been updated to reflect these changes. The program will still save new topics, etc... when first run, however it won't save any of the mapping or relationship information. Instead the build now processes the Post Content Spec in validate mode when a build request is done. The data that is stored in memory from the processor is then used to construct the chapters, sections, relationships, etc...

While doing this I also updated the names of the topic files so that they would only have a unique identifier starting from 1 if the topic was duplicated in a content specification.

Comment 2 Joshua Wulf 2011-11-25 00:00:09 UTC
Content spec builds for me in build 18. No noticeable performance difference with the content specs that I'm using.


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