Bug 813600 - RFE: Include a reference to the created book in the BZ URL
Summary: RFE: Include a reference to the created book in the BZ URL
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:
TreeView+ depends on / blocked
 
Reported: 2012-04-18 02:09 UTC by Lee Newson
Modified: 2013-06-07 01:30 UTC (History)
2 users (show)

Fixed In Version: 0.23.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 01:30:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Lee Newson 2012-04-18 02:09:01 UTC
Since you can't have a component for each book created, the bugzilla link should populate a field to specify which book the bug belongs to.

IRC Log:
<misha> the link i use is:
<misha> BZURL=<ulink url='https://bugzilla.redhat.com/enter_bug.cgi?product=JBoss&percnt;20Data&percnt;20Grid&percnt;206&amp;component=Documentation&amp;5.2=&amp;short_desc=Developer_Guide '>Report a bug for this book.</ulink>">
<misha> So the bug has "GUIDE_NAME" for each guide rather than a different BZ component for each book
<misha> did that make sense?
<lnewson> yeah i know jwulf or someone asked about adding that to the link by default
<jwulf> would adding:
<jwulf> BZDESC
<jwulf> do it?
<lnewson> Really it should just include the name of the Book in the bug somewhere
<jwulf> so you set BZPRODUCT and BZCOMPONENT to JBoss Data Grid and Documentation
<jwulf> and BZDESC to "Guide = Guide Name"
<misha> jwulf, makes sense. 
<misha> if we have multiple guide generated by the csp, it makes sense to add the guide name in the generic BZ link
<jwulf> i did ask for more control over BZURL
<lnewson> jwulf, i disagree it should be based on the TITLE element
<lnewson> and just added into the link like misha posted
<lnewson> but in the background
<jwulf> so automatically put the title into the BZ data?
<jwulf> like topicID is injected atm?
<lnewson> yes
<jwulf> makes sense
<jwulf> what about this use case:
<jwulf> two versions of the same book
<jwulf> one published on the internal stage for review
<jwulf> one published externally 
<jwulf> how do you tell which version of the book the bug was logged against?
<lnewson> well i'd say it should be version and title probably
<jwulf> maybe version, edition, and title?
<misha> BOOKNAME-EDITION?
<lnewson> same situation as https://bugzilla.redhat.com/show_bug.cgi?id=807500
<jwulf> lnewson, is there anyway you could put some javascript or something into the URL to insert the current doc URL?
<jwulf> Title + Version + Edition + this.URL
<jwulf> would be perfectly clear

Comment 1 Lee Newson 2012-04-19 01:48:03 UTC
Added in 0.23.2

I've added the book Title, Version and Edition to the Bugzilla Generated URL. They are populated into the Environment Variables field in bugzilla.

Comment 2 Lee Newson 2012-05-10 01:19:53 UTC
Moving this to ON_QA as this should cover any use cases.

Comment 3 Lee Newson 2013-06-07 01:30:09 UTC
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.


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