Bug 838416 - RFE: topic revision and ID as attributes of section
Summary: RFE: topic revision and ID as attributes of section
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 838168 838781 839827
TreeView+ depends on / blocked
 
Reported: 2012-07-09 04:46 UTC by Joshua Wulf
Modified: 2014-10-19 23:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 02:35:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 869107 0 unspecified CLOSED Bug report URL flag to indicate "Revision of topic was specified in content spec" 2021-02-22 00:41:40 UTC

Internal Links: 869107

Description Joshua Wulf 2012-07-09 04:46:32 UTC
I need the topic revision available in the html. 

Can we have the csprocessor write it into the section with some Docbook attribute so that it shows up in the built html please?

Comment 1 Joshua Wulf 2012-07-12 06:16:06 UTC
I'd like the topic ID as well. 

Perhaps they can be injected as part of the section role attribute, so:

role=role+" "+"skynet-topic-id-"+topic.id.toString()+" "+"skynet-topic-revision-"+topic.revision.toString();

Then they show up as class attributes in html.

Comment 2 Lee Newson 2012-07-13 03:41:48 UTC
This can be pulled from the bug reporting links atm (assuming they are turned on).

Comment 3 Joshua Wulf 2012-07-13 11:28:20 UTC
Yes, it's when they are not turned on that I want this information.

Comment 4 Tim Hildred 2012-10-08 03:53:44 UTC
This would also be useful to figure out when you have frozen topics that are older out of date in a topic map, so you can figure out when to repush to Zanata.

Comment 5 Joshua Wulf 2012-10-23 04:09:10 UTC
Can we make this expose whether or not the topic was built from a specific topic revision?

At the moment the topic revision is exposed in the bug reporting link, but for all topics. 

Perhaps a flag can be added to the link if the revision number was specified in the content spec.

Comment 6 Joshua Wulf 2012-10-23 04:13:43 UTC
I forked Comment 5 to a new request: 869107

Comment 7 Misty Stanley-Jones 2013-05-29 02:35:52 UTC
This is actually done now.


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