Bug 704493

Summary: Add Skynet Query to Docbook output
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: Web-UIAssignee: Joshua Wulf <jwulf>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: lcarlon, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-18 08:09:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joshua Wulf 2011-05-13 11:47:44 UTC
We need to add the query to the Skynet output. 

We will use this to troubleshoot when topics are missing from a build - is the builder at fault, the topic metadata, or the query used to generate the book? Without knowing what query was used to generate the book, we cannot be sure. We also cannot reliably compare different builds without being sure that the same query was used to generate them.

Let's try this:

Can you make the "Built by Skynet version XXXXX" comment a hyperlink to the Skynet topic search page with the query that produced the book loaded?

Comment 1 Matthew Casperson 2011-05-16 01:27:14 UTC
Fixed in 20110516-1126

Comment 2 Joshua Wulf 2011-05-16 06:25:55 UTC
1. Regression: 

"Built with Skynet XXXX" is no longer in a <remark> tag

2. When I follow the hyperlink and the search screen opens in Skynet, no tags are selected

Example: http://jboss-eap.bne.redhat.com/wireframes/Infinispan/110516/PlaceholderXRef16.html

Comment 3 Matthew Casperson 2011-05-17 02:10:25 UTC
Fixed in 20110517-1209

I clicked that link and both the Infinispan and Distributed Caching were selected.

Fixed remark tag.

Comment 4 Joshua Wulf 2011-05-17 23:43:37 UTC
The query is coming back for me with the right checkboxes selected, however it's still not in a <remark> tag in my Docbook source.



<section id="PlaceholderXRef265">
	<title>Use an existing CacheManager for Infinispan</title>
	<note>
		<title>NOTE - TOPIC NOT WRITTEN - TOPIC ID: 2443 </title>
		<para>This topic has not yet been written. The content below is from the topic description.</para>
	</note>
   <para>
		To use and existing CacheManager from JNDI (optional parameter): hibernate.search.infinispan.cachemanager_jndiname = [jndiname]
   </para>
	<para>
		<ulink url="https://bugzilla.redhat.com/enter_bug.cgi?product=Topic+Tool&amp;component=web-Topic_Index&amp;comment=Leave%20this%20line%20in%20the%20report.%20Topic%20ID:2443%20Build:%2020110518-0722">Report a bug: 2443</ulink>
	</para>
	<para>
		<ulink url="http://jboss-eap.bne.redhat.com:8080/TopicIndex/CustomSearchTopicList.seam?topicId=2443">View in Skynet</ulink>
	</para>

<!-- Comment added by jwulf -->
<!-- The para tag below should be wrapped in a <remark> tag -->

	<para>
		<ulink url="http://jboss-eap.bne.redhat.com:8080/TopicIndex/CustomSearchTopics.seam?tag56=1&amp;tag13=1">Built with Skynet version 20110518-0722</ulink>
	</para>
</section>

Comment 5 Joshua Wulf 2011-05-18 08:09:19 UTC
Rebuilt and rechecked. 

It's in a remark tag.

However, it's not showing up on pages which have topic content. See https://bugzilla.redhat.com/show_bug.cgi?id=703688.

Closing this bug for now, and we'll tracking the missing metadata in the other bug.