Closed Bug 283183 Opened 21 years ago Closed 21 years ago

check_multi in Config.pm returns a bad error message if the check fails

Categories

(Bugzilla :: Administration, task)

2.19.2
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

return "Invalid choice '$value' for single-select list param '$param'"; should be return "Invalid choice '$value' for single-select list param '$param->{'name'}'"; Same remark about return "Invalid choice '$chkParam' for multi-select list param '$param'"; Waiting for wurblzap's patch in bug 283019 to land before submitting my patch to avoid bitrot.
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Attached patch patch, v1 — — Splinter Review
Replace $param by $param->{'name'}.
Attachment #175835 - Flags: review?
Comment on attachment 175835 [details] [diff] [review] patch, v1 Yeah, that looks obviously correct on inspection.
Attachment #175835 - Flags: review? → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/Config.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm new revision: 1.35; previous revision: 1.34 done
Status: ASSIGNED → RESOLVED
Closed: 21 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: