Closed Bug 565790 Opened 15 years ago Closed 15 years ago

Unprivileged users cannot create bugs anymore

Categories

(Bugzilla :: Creating/Changing Bugs, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

This is a regression due to bug 555850: Can't locate object method "name" via package "UNCONFIRMED" (perhaps you forgot to load "UNCONFIRMED"?) at /var/www/html/bugzilla/enter_bug.cgi line 566. The reason is that if the user has no privs, then @statuses is filled with a bug status name instead of a bug status object.
Attached patch patch, v1Splinter Review
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Attachment #445228 - Flags: review?(mkanat)
:( . I did not test with normal user. I wont forget that next time.
Comment on attachment 445228 [details] [diff] [review] patch, v1 Oh, right. You could also use "first" here (from List::Utils) if you wanted.
Attachment #445228 - Flags: review?(mkanat) → review+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified enter_bug.cgi Committed revision 7164.
Status: ASSIGNED → RESOLVED
Closed: 15 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: