Bug 1128625

Summary: [TestCase|Component] Components and categories are mixed when adding components for the cases
Product: [Other] TCMS Reporter: Tingting Zhao <tzhao>
Component: ApplicationAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8.10CC: cqi, junzhang, leiwang, ryang, vchen
Target Milestone: ---   
Target Release: 3.8.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
it is adding components sometimes but it lists the values of the categories
none
it is adding categories sometimes none

Description Tingting Zhao 2014-08-11 08:48:17 UTC
Created attachment 925647 [details]
it is adding components sometimes but it lists the values of the categories

Description of problem:
as summary

Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server

How reproducible:
100%

Steps to Reproduce:
1.open a test case ,eg,case id is 293362 with product is "tzhao test product".
Then click Components tab,and check the name of the add button.
2.then click this add component button,and check the box name.
3.then choose this product and check the category values.
4.then open the Test case categories link under the Admin menu.And search out the categories belonging to the product "tzhao test product"
5.open the Components under the Admin menu too and search out the components belonging to this product.

Actual results:
step 1:the add button is Add component.
step 2:the box name is categories.
step 3:the category only has "--default--"value under this product.
step 4:the categories only contains "--default--".
step 5:and the component contains four components.

And sometimes it's adding components,sometimes it's adding categories,
Even sometimes,it's adding mixtures of them.

Expected results:
make sure not to mix the components and categories together.

Additional info:
Search TCMS and find its all components and categories,you will find they are mixed too.

Comment 1 Tingting Zhao 2014-08-11 08:49:00 UTC
Created attachment 925648 [details]
it is adding categories sometimes

Comment 2 Tingting Zhao 2014-08-12 08:26:20 UTC
verify on devel server with nitrate 3.8.10 =====>pass
verify steps are the same as the description.