Closed Bug 400569 Opened 17 years ago Closed 17 years ago

Bugzilla::Bug::editable_bug_fields() behaves incorrectly on installations with custom multi-select fields

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

3.1.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
If a custom multi-select field is created, this one is not stored in the bugs table and lsearch() in editable_bug_fields() returns -1. splice() then uses this value to remove the last element of the list instead of ignoring it.
Flags: blocking3.1.3+
Attachment #285632 - Flags: review?(mkanat)
Attachment #285632 - Flags: review?(mkanat) → review+
Flags: approval+
Checking in Bugzilla/Bug.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v  <--  Bug.pm
new revision: 1.211; previous revision: 1.210
done
Status: ASSIGNED → RESOLVED
Closed: 17 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: