Closed
Bug 191087
Opened 22 years ago
Closed 22 years ago
process_bug.cgi: "Mid-air collision!" title when not allowed to change a field
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: burnus, Assigned: burnus)
Details
Attachments
(1 file)
1.54 KB,
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
Mid-air collision! You tried to change the priority field from P2 to P3, but only the owner or submitter of the bug, or a sufficiently empowered user, may change that field. The message is in user-error.html.tmpl "illegal_change" and "Mid-air collision!" is in ./bug/process/header.html.tmpl [% ELSIF title_tag == "mid_air" %] [% title = "Mid-air collision!" %] [% END %] I have no idea why this is set, but a fix would be [% ELSIF error == "illegal_change" %] + [% title = "Not allowed" %] in global/user-error.html.tmpl
Comment 1•22 years ago
|
||
A fix is, as burnus suggests, to add a [% title = "" %] in the error message clause in user-error.html.tmpl. But that doesn't quite explain how title_tag got set to "mid_air" when an error was thrown. Perhaps the error is thrown partway through the process when we have already determined that there's a mid-air? Further investigation is required. Gerv
Assignee | ||
Comment 2•22 years ago
|
||
> Perhaps the error is thrown partway through the process when we have already
> determined that there's a mid-air?
This seems to be the case, but it I don't think someone else committed
something, so it must be me playing with things which I may not change. I saw
it again, but I cannot really reproduce it, so just ignore it.
I added now a title to user-error.html.tmpl and fixed the call of
get_component_name (takes one argument, so it showed als old one always the
component with the id = produce_it!)
Assignee | ||
Updated•22 years ago
|
Attachment #113026 -
Flags: review?(gerv)
Comment 3•22 years ago
|
||
Comment on attachment 113026 [details] [diff] [review] Add a title and fix warning. r=gerv. Gerv
Attachment #113026 -
Flags: review?(gerv) → review+
Assignee | ||
Comment 4•22 years ago
|
||
My patch => (re)assign to me ;-)
Assignee: gerv → burnus
Flags: approval?
Updated•22 years ago
|
Flags: approval? → approval+
Updated•22 years ago
|
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 5•22 years ago
|
||
Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.173; previous revision: 1.172 done Checking in template/en/default/global/user-error.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v <-- user-error.html.tmpl new revision: 1.28; previous revision: 1.27 done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Summary: process_bug.cgi: "Mid-air collision!" title when not allow to change a field → process_bug.cgi: "Mid-air collision!" title when not allowed to change a field
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
•