Closed Bug 284301 Opened 19 years ago Closed 19 years ago

error when entering three characters in the CC or "reassign to" fields

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.18
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: syahyavi, Assigned: glob)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I am using Bugzilla 2.18 on windows. I get an error message whenever I use three
Characters of user id in CC Field or reassign field. I also get this error if I
use "*" in those field to populate them with list of all the users.

This is the error message:

 process_bug.cgi: Argument "" isn't numeric in numeric gt (>) at
data\template\template\en\default\global\hidden-fields.html.tmpl line 46.




Reproducible: Always

Steps to Reproduce:
1. open a new bug
2. type * in the CC field
3. Commit the bug 

Actual Results:  
in the next page you will have list of all the users populated in the CC field
and at the very top of the page, before the "This is Bugzilla", you will see an
error.

This is the error message:
process_bug.cgi: Argument "" isn't numeric in numeric gt (>) at
data\template\template\en\default\global\hidden-fields.html.tmpl line 46.

Expected Results:  
no error
Version: unspecified → 2.18
I don't see this.  Exactly which version?
confirming, i see the error with iis (on the page) and with apache (in the error
log).
Assignee: create-and-change → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch v1Splinter Review
the root cause of the problem is the "dontchange" field only exists for
change-several-bugs.  i tried to exclude it with little success (other weird
side effects), so this patch ensures that we only do an integer comparison for
fields that exist in %mform.
Attachment #176034 - Flags: review?
Blocks: bz-warnings
Attachment #176034 - Flags: review? → review+
Flags: approval?
Flags: approval2.18?
Target Milestone: --- → Bugzilla 2.18
Approved for 2.18 branch only.  Trunk will be fixed by the patch on bug 238878,
which this one conflicts with.
Depends on: 238878
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval-
Summary: I get an error when I use three charaters of user id in CC or reassign fields to populate thes field with list of users. → I get an error when I use three characters of user id in CC or reassign fields to populate thes field with list of users.
2.18:

Checking in template/en/default/global/hidden-fields.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/hidden-fields.html.tmpl,v
 <--  hidden-fields.html.tmpl
new revision: 1.8.2.1; previous revision: 1.8
done
Status: NEW → RESOLVED
Closed: 19 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → FIXED
Summary: I get an error when I use three characters of user id in CC or reassign fields to populate thes field with list of users. → error when entering less than three characters in the CC or "reassign to" fields
Summary: error when entering less than three characters in the CC or "reassign to" fields → error when entering three characters in the CC or "reassign to" fields
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: