Bug 1025146

Summary: Two same testplans are created when saving one
Product: [Retired] Red Hat Hardware Certification Program Reporter: Huan Zhang <hzhang>
Component: Hardware CatalogAssignee: Wei Shen <wshen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.2CC: hwcert-catalog, junwang, tfu, 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: 2013-11-06 08:41:54 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: 1024158    
Attachments:
Description Flags
avoid adding extra testplan line none

Description Huan Zhang 2013-10-31 06:01:42 UTC
The first time you create a test plan on a cert, catalog will save two same ones.

How to reproduce:

1)create a hardware spec and a linked hardware cert
2)add a hardware component to the spec
3)add only *one* test plan with the hardware component you created just now
4)two test plans will be wrongly created

Let's fix this ASAP.

Comment 1 Wei Shen 2013-10-31 06:04:50 UTC
Created attachment 817719 [details]
avoid adding extra testplan line