Closed
Bug 365129
Opened 18 years ago
Closed 18 years ago
When moving a bug to another product and the target product has only one component, version or target milestone, automatically select them instead of throwing an error
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: Biesinger, Assigned: LpSolit)
References
Details
Attachments
(1 file)
3.96 KB,
patch
|
bugzilla-mozilla
:
review+
|
Details | Diff | Splinter Review |
When I change a bug's product, and I forget to select a version from the list, I get: Bugzilla has suffered an internal error. Please save this page and send it to bugzilla-admin@mozilla.org with details of what you were doing at the time this message appeared. URL: https://bugzilla.mozilla.org/process_bug.cgi Form field version was not defined.
Assignee | ||
Comment 1•18 years ago
|
||
If there is only one version/component/milestone available, process_bug.cgi should use it instead of complaining.
Target Milestone: --- → Bugzilla 3.0
Comment 2•18 years ago
|
||
This error message should also be a user error and not a code error, since it's not Bugzilla being broken, but something the user overlooked that they can fix. (Fixing it for them when it's obvious should be done, too, of course). People emailing bugzilla-admin because they forgot to pick a version and the error message told them to mail it in is a bad thing.
Assignee | ||
Comment 3•18 years ago
|
||
When moving a bug to another product, process_bug.cgi sets the component and version if only one exists. If we are not moving the bug to another product, then these fields should be always defined. If they are not, there is really something wrong and I don't want process_bug.cgi to guess anything.
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Attachment #249785 -
Flags: review?(bugzilla-mozilla)
i was moving from mozilla.org to Firefox there is definitely more than one available. but this is very annoying.
Assignee | ||
Updated•18 years ago
|
Attachment #249785 -
Flags: review?(justdave)
Comment 5•18 years ago
|
||
Comment on attachment 249785 [details] [diff] [review] patch, v1 Works correctly. Even when hacking a normal (non-product-move) process_bug.cgi POST and not submitting a version (wondered about this).
Attachment #249785 -
Flags: review?(justdave)
Attachment #249785 -
Flags: review?(bugzilla-mozilla)
Attachment #249785 -
Flags: review+
Updated•18 years ago
|
Flags: approval?
Updated•18 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 6•18 years ago
|
||
Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.351; previous revision: 1.350 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Summary: "Form field version was not defined." when changing products and not selecting a version → When moving a bug to another product and the target product has only one component, version or target milestone, automatically select them instead of throwing an error
You need to log in
before you can comment on or make changes to this bug.
Description
•