Closed Bug 313603 Opened 19 years ago Closed 19 years ago

The keyword_already_exists error has an undefined variable

Categories

(Bugzilla :: Administration, task)

2.20
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: emmanuel, Assigned: LpSolit)

Details

Attachments

(1 file)

When adding a keyword for a second time, Bugzilla (rightly) throws the error keyword_already_exists. The error message shown to the user is "A keyword with the name already exists." but the code says "A keyword with the name [% name FILTER html %] already exists.". It appears that the name variable is undefined when processing this error.
Attached patch patch, v1Splinter Review
Assignee: general → LpSolit
Status: NEW → ASSIGNED
Attachment #200611 - Flags: review?(wurblzap)
Severity: normal → minor
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
Comment on attachment 200611 [details] [diff] [review]
patch, v1

Tested; works.
Attachment #200611 - Flags: review?(wurblzap) → review+
Flags: approval?
Flags: approval2.20?
Component: Bugzilla-General → Administration
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip:

Checking in editkeywords.cgi;
/cvsroot/mozilla/webtools/bugzilla/editkeywords.cgi,v  <--  editkeywords.cgi
new revision: 1.34; previous revision: 1.33
done


2.20:

Checking in editkeywords.cgi;
/cvsroot/mozilla/webtools/bugzilla/editkeywords.cgi,v  <--  editkeywords.cgi
new revision: 1.26.4.1; previous revision: 1.26
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: