Bug 812718

Summary: blocker cert link goes to bugzilla rather than hwcert catalog
Product: [Retired] Red Hat Hardware Certification Program Reporter: Tony Fu <tfu>
Component: Hardware CatalogAssignee: Tony Fu <tfu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: hwcert-catalog, pxue, rlandry, wshen
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: 2012-06-06 04:20:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 733411    

Description Tony Fu 2012-04-16 04:56:57 UTC
Description of problem:


When user clicks a blocker cert link in "Internal Relationships" section, it goes to the corresponding bug page in bugzilla.  I think it should go to the corresponding cert page in hwcert catalog
 
How reproducible:


Steps to Reproduce:
1. Open a cert with blockers in "Internal Relationships" section.
2. Click the blocker link
3.
  
Actual results:

The page goes to the corresponding bug page on bugzilla website

Expected results:

The page should go to the corresponding cert page on hwcert catalog rather than bugzilla web site

Additional info:

Comment 1 Tony Fu 2012-04-16 05:03:38 UTC
Created attachment 577621 [details]
bug fix patch

Comment 2 Rob Landry 2012-04-16 18:09:34 UTC
We'd need to know the product ID of the linked BZ to say that is a hwcert and not a blocking bug that is preventing the cert.  I think this patch doesn't do that check?

Comment 3 Tony Fu 2012-04-17 07:10:21 UTC
(In reply to comment #2)
> We'd need to know the product ID of the linked BZ to say that is a hwcert and
> not a blocking bug that is preventing the cert.  I think this patch doesn't do
> that check?

Add code to check if the blocked/dependon bug is hwcert cert bug or a normal bug.  If it is a hwcert cert bug, the link will go to catalog, otherwise the link will go to bugzilla.

Comment 4 Tony Fu 2012-04-17 07:11:52 UTC
Created attachment 577923 [details]
bug fix patch

add code to check if the blocked/dependson is a cert bug or a normal bz bug

Comment 7 Pengfei Xue 2012-05-08 02:43:53 UTC
verified on web2

Comment 8 Wei Shen 2012-05-23 09:59:29 UTC
verified on partner

Comment 9 Tony Fu 2012-06-06 04:20:55 UTC
verified on live.

Closing this bug.