Bug 1028322

Summary: Change Test Plan State will destroy all mapping
Product: [Retired] Red Hat Hardware Certification Program Reporter: Yunlong Xue <yxue>
Component: Hardware CatalogAssignee: hwcert-catalog
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.2CC: djansen, fwang, hwcert-catalog, hzhang, rlandry, tfu, wshen, yxue
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-27 00:13:01 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: 1032345    

Description Yunlong Xue 2013-11-08 08:27:54 UTC
In new version cert(cert which use Hardware Layer), change "Test Plan State " will make all mapping disappear.


Steps to Reproduce:
1.maps some results in plan
2.change "Test Plan State" to "Melted"
3.change "Test Plan State" back to "Frozen"

Then all mappings are disappear.

Comment 1 Rob Landry 2013-11-09 00:27:04 UTC
Will they reappear with show.cgi or they are truly lost?

Comment 5 Huan Zhang 2013-11-21 08:21:01 UTC
(In reply to Damian Jansen from comment #4)
> rlandy - I'm not even sure what the problem is. "Map some results in plan"
> is about as vague as it could be. I'd need more info about this problem
> before I can estimate it.

How to reproduce:
1) create cert/spec with testplan by following the steps in bz1028885
2) go the the cert page
3) click review tab
4) change the state of the test plan to Melted and save
5) change the state of the test plan back to Frozen
6) go to the advanced tab to check if the value of "Hardware Specification" in the relation ships section is disappeared.

Comment 6 Huan Zhang 2013-11-21 08:21:23 UTC
test passed on web2

Comment 7 Huan Zhang 2013-11-21 08:29:13 UTC
Sorry, I *misunderstood* this bug. Please ignore Comment 5 and comment 6!

Comment 9 Huan Zhang 2013-11-21 08:59:39 UTC
How to reproduce:
1) create cert/spec with testplan by following the steps in bz1028885
2) go to the cert page
3) click review tab
4) create test plans and freeze them
5) click *confirmed* and save test plans
Please note:
The map is between each testplan and its confirmed status
6) change the status of test plan to melted
7) change the test plan description and save
8) freeze the test plans
9) check if the maps are still there

Comment 10 Huan Zhang 2013-11-21 08:59:58 UTC
verified on web2

Comment 11 Wei Shen 2013-11-26 06:39:54 UTC
verified on partner

Comment 12 Feng Wang 2013-11-26 07:36:55 UTC
tested and verified on parter

Comment 13 Tony Fu 2013-11-27 00:13:01 UTC
verified on live