The keyword_already_exists error has an undefined variable

RESOLVED FIXED in Bugzilla 2.20

Status

()

Bugzilla
Administration
--
minor
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: Emmanuel Seyman, Assigned: Frédéric Buclin)

Tracking

2.20
Bugzilla 2.20
Bug Flags:
approval +
approval2.20 +

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
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.
(Assignee)

Comment 1

13 years ago
Created attachment 200611 [details] [diff] [review]
patch, v1
Assignee: general → LpSolit
Status: NEW → ASSIGNED
Attachment #200611 - Flags: review?(wurblzap)
(Assignee)

Updated

13 years ago
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?

Updated

13 years ago
Component: Bugzilla-General → Administration
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
(Assignee)

Comment 3

13 years ago
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
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.