Closed Bug 667150 Opened 13 years ago Closed 12 years ago

Custom field depending on Product:Component is being displayed for any Products

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

4.1.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: arunciks, Assigned: LpSolit)

References

Details

(Whiteboard: [blocker will fix])

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB7.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)
Build Identifier: 4.1.1

I just noticed that on my Bugzilla 4.1.1 installation occurs.
I have custom field set to appear only when Component is set to ProductA:Database

but its appearing on all products when same name
component is selected
ProductC:Database
ProductB:Database
....

is this is a bug?. or am I missing something?.
Please help.
Thanks.



Reproducible: Always

Steps to Reproduce:
1.Add custom field that should be displayed just when ProductA:comp selected
2.have multiple products with same name component comp
3.adding bug for product different than A when comp selected the custom field is displayed.


Expected Results:  
Even same name component should be identified as separate instance per product
I seem to recall this being intentional (or perhaps unavoidable), but I am not sure. Also, you're using an older development snapshot; try updating to trunk and see if you still have the problem.
I can reproduce in 4.3 and 4.0.2. The custom field appears when you edit the component to something which matches what the custom field is looking for, but when you commit the changes, the field is gone again, probably because it realized that the product didn't match. But the bug history shows that process_bug.cgi accepted that you edit the custom field, though. So it looks like the behavior is correct when you load the page (as the custom field is not displayed) but is incorrect when you edit the component (as the custom field is displayed while it shouldn't).
Assignee: general → create-and-change
Status: UNCONFIRMED → NEW
Component: Bugzilla-General → Creating/Changing Bugs
Ever confirmed: true
OS: Other → All
Hardware: x86 → All
Version: unspecified → 4.1.1
Will be fixed by bug 731178.
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Depends on: CVE-2012-4199
Whiteboard: [blocker will fix]
Target Milestone: --- → Bugzilla 4.0
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.