Closed
Bug 267560
Opened 20 years ago
Closed 20 years ago
CheckCanChangeField in process_bug.cgi requests the bug owner, QA contact and reporter too many times
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(2 files)
656 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
549 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
This function should request only once per bug, not for every field (assuming we
come here, which requires that the user hasn't editbugs privs and that the field
is modified).
The speed gain shouldn't be too high.
The code is:
if ($lastbugid != $bugid)
but $lastbugid is never updated!
Assignee | ||
Updated•20 years ago
|
Assignee: myk → LpSolit
Assignee | ||
Comment 1•20 years ago
|
||
I think this is the only thing to do. Or is there something I missed?
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 164486 [details] [diff] [review]
add $lastbugid = $bugid;
I will try it on my installation, but this should be ok!
Attachment #164486 -
Flags: review?(justdave)
Comment 3•20 years ago
|
||
And this infects 2.16 as well. yay. Good catch.
Flags: blocking2.20+
Flags: blocking2.18+
Flags: blocking2.16.8+
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.16
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•20 years ago
|
||
(In reply to comment #2)
> (From update of attachment 164486 [details] [diff] [review])
> I will try it on my installation, but this should be ok!
>
OK, I didn't see any problem on my installation...
Updated•20 years ago
|
Attachment #164486 -
Flags: review?(justdave) → review+
Comment 5•20 years ago
|
||
This patch doesn't apply cleanly against the 2.16 branch, however.
Assignee | ||
Updated•20 years ago
|
Flags: approval?
Flags: approval2.18?
Assignee | ||
Comment 6•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #166509 -
Flags: review?(justdave)
Comment 7•20 years ago
|
||
Comment on attachment 166509 [details] [diff] [review]
same patch, for the 2.16 branch
heh, gotta love it when a patch fails to apply because the surrounding
*comments* changed. :) Ah, for a smarter 'patch' program. :)
Attachment #166509 -
Flags: review?(justdave) → review+
Updated•20 years ago
|
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval2.16+
Flags: approval+
Comment 8•20 years ago
|
||
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi
new revision: 1.125.2.12; previous revision: 1.125.2.11
done
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi
new revision: 1.205.2.7; previous revision: 1.205.2.6
done
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi
new revision: 1.217; previous revision: 1.216
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Summary: CheckCanChangeField in process_bug.cgi requests the bug owner, qa contact and reporters too many times → CheckCanChangeField in process_bug.cgi requests the bug owner, QA contact and reporter too many times
Updated•12 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
•