Bug 623659

Summary: Cannot clear flag using Web UI nor XMLRPC
Product: [Community] Bugzilla Reporter: Ludek Smid <lsmid>
Component: Bugzilla GeneralAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.6CC: plyons
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 17:17:54 UTC Type: ---
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
v1 to fix flag type issue dkl: review+

Description Ludek Smid 2010-08-12 13:09:08 UTC
Description of problem:

Cannot clear bug via Web UI. Setting flags to "+", "-", or "?" works.

Version-Release number of selected component (if applicable):

3.6

How reproducible:


Steps to Reproduce:
1. Go to https://partner-bugzilla.redhat.com/show_bug.cgi?id=621586
2. click cluster-4.7.z (or any other flag)
3. Clear it (set to "")
4. Click "Save Changes"

Actual results:

Shows page displaying:
"""
Software error:

Can't call method "type" on an undefined value at Bugzilla/Flag.pm line 1049.
"""

Expected results:

Flag is cleared.

Additional info:

The same error is displayed when using XMLRPC.

Comment 1 Noura El hawary 2010-08-12 13:42:34 UTC
Created attachment 438444 [details]
v1 to fix flag type issue

Thanks for identifying this issue.

Attached is a patch to fix the problem, I tested the patch on my local bugzilla and the problem was fixed. Please let me know what you think Dave.

the patch is against the 3.6 branch bugzilla.

Noura

Comment 2 David Lawrence 2010-08-12 17:17:40 UTC
Comment on attachment 438444 [details]
v1 to fix flag type issue

Thanks Noura. I went ahead and committed this to SVN as well.

Dave