Closed
Bug 188161
Opened 21 years ago
Closed 21 years ago
assignee/qa missing change knobs
Categories
(Bugzilla :: Creating/Changing Bugs, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: greg, Assigned: bbaetz)
Details
Attachments
(1 file)
1.10 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) Build Identifier: After installation of bugzilla-2.17.3 it's no longer possible to edit bugs i'm assigned to. Reproducible: Always Steps to Reproduce: I've investigated this problem, and revealed that the cause is a bug in Bug.pm. At the beginning of it, variable $self->{'assigned_to'} is an object of type Bugzilla::User. Unfortunetally later, there is an equality test made to evaluate canedit variable. At this point there is a type mismatch error because the object is compared to a string. After fixing this equality to to compare two ints, everything seems to work fine.
Comment 1•21 years ago
|
||
This sounds sort of like bug 186994, but not quite.
Assignee: justdave → myk
Component: Bugzilla-General → Creating/Changing Bugs
Comment 2•21 years ago
|
||
Bug 186994 is about the template not displaying the option to change the bug to ASSIGNED when it should and is currently on bmo. This bug appears to be a backend issue introducted when moving to Bug.bm, which IIRC is not currently on bmo (otherwise I'm sure we would have had far more reports).
Version: unspecified → 2.17.3
Assignee | ||
Comment 3•21 years ago
|
||
Takng, but I'm unlikly to get to this before hte weekend
Assignee: myk → bbaetz
Assignee | ||
Comment 4•21 years ago
|
||
Yep; this only affected the knob stuff though. Patch coming; thanks for the diagnosis!
Severity: major → blocker
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 5•21 years ago
|
||
We have to check that the qa_contact exists, but can't use |defined|, because of the AUTOLOAD return. Not sure why it returns '' instad of undef, mind you, but I'm not going to try to unravel that now...
Assignee | ||
Updated•21 years ago
|
Attachment #112272 -
Flags: review?(justdave)
Updated•21 years ago
|
Attachment #112272 -
Flags: review?(justdave) → review+
Updated•21 years ago
|
Flags: approval+
Assignee | ||
Comment 6•21 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Summary: I don't have permissions to edit a bug even I'm assigned to it → assignee/qa missing change knobs
Updated•11 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•