Bug 767005
Summary: | Chapters with the same name are not uniquely identified | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
Component: | CSProcessor | Assignee: | Lee Newson <lnewson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.x | CC: | jwulf, lcarlon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 0.20.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-20 01:45:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joshua Wulf
2011-12-12 23:54:20 UTC
We discovered this because someone accidentally pasted the same Chapter into a Content Spec twice. Fixed the Duplicate chapter naming issue. The processor never checked that chapter names were unique when processing or building. So now the builder will add the line number of the chapter to the file name. This in turn makes each chapter entity unique and allows for the book to be built by publican. The builder also takes care of the duplicate topic id because the chapters are then declared different since they have different names and therefore the topics inside are duplicated and given a unique id and filename. As for issue number two I don't quite get what you mean by that Josh, so if you could please elaborate that'd be great. Don't worry about the second issue. It's basically investigating to see if other inclusion mechanisms can lead to duplicate ID errors. If we run into it we can deal with it then. Moving it onto QA then. Fixed in 0.20.0 of the csprocessor. |