Closed Bug 345929 Opened 18 years ago Closed 18 years ago

User matching not called for requestee fields in post_bug.cgi

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.23
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

Now that we can set flags on bug creation, we have to validate requestee fields using User::match_field() too.
Attached patch patch, v1Splinter Review
Attachment #230682 - Flags: review?(myk)
Be careful not to re-create the "we lose the attachment if there's an intermediate page" bug.
Max, we already have user-matching for the assignee, QA contact and CC list, so you already can have the intermediate page at this point. That's where AJAX would be useful: when clicking "Commit", User::match_field() should be called and a popup should appear where we ask the user to choose the correct user(s) and when the user clicks "OK", go submit the bug creation page to post_bug.cgi. But that's another bug.(*)

This patch is important because Bugzilla::Flag::validate() assumes that all requestees are valid.


(*) That's the kind of problems where I would like to see AJAX implemented independently of the full work gandalf is doing. That's the kind of small implementations of AJAX which would really help.
Status: NEW → ASSIGNED
Attachment #230682 - Flags: review?(myk) → review+
Flags: approval?
Flags: approval? → approval+
Checking in post_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v  <--  post_bug.cgi
new revision: 1.159; previous revision: 1.158
done
Status: ASSIGNED → RESOLVED
Closed: 18 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: