Bug 948174 - Topic renaming is too complicated
Summary: Topic renaming is too complicated
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CCMS-Core
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: pressgang-ccms-dev
QA Contact:
URL:
Whiteboard:
Depends On: 831910
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-04 08:45 UTC by Eva Kopalova
Modified: 2016-06-17 21:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-22 00:15:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Eva Kopalova 2013-04-04 08:45:55 UTC
Description of problem:
A topic name is defined in the content spec and in the topic itself:

If you want to rename a topic, you need to change it in three places: topic's content specs, the properties tab of the topic, and the title in the topic content. Considering that right now there is not a way to figure out which content specs are using the topic, this can become quite a challenge.

I believe it should be possible to change the name of a topic in one place and have the change distributed wherever necessary in background.

Comment 1 Lee Newson 2013-04-04 22:56:02 UTC
One thing to note is you should never rename the Fixed URL Property (hence the name "Fixed"). We've left it editable as a courtesy, in the case that you really want it changed, but in reality it should never be changed once a book has been published.

As for the content specifications, currently that would need this RFE first: https://bugzilla.redhat.com/show_bug.cgi?id=831910

Comment 2 Matthew Casperson 2013-04-07 22:32:30 UTC
As long as the topic's XML is valid, the title element in the section is always set to the title property. There is no need to update the title element; if it is missing it will be added, and if it is present it will be overwritten.

You can also use permissive processing with the Content Spec Processor with the -p or --permissive option. This will remove the requirement for an exact title match in the content specs. See https://docspace.corp.redhat.com/docs/DOC-91733 for details.

Comment 3 Matthew Casperson 2013-04-07 22:39:26 UTC
Just to clear up the above comment - title element is the <title> xml element in the <section>, and title property is the property set on the topic.


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