[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham # Christine Begle #%] [%# INTERFACE: # This template has the same interface as create.html.tmpl #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% PROCESS global/header.html.tmpl title = "Enter A Bug" onload = "PutDescription()" %]

This is a template used on mozilla.org - it, along with the comment-guided.txt.tmpl template, are included as a demo of what it's possible to do with custom templates in general, and custom bug entry templates in particular. It is recommended that this template be customised if you want to use it on your Bugzilla installation.

[% tablecolour = "#FFFFCC" %] [%# This script displays the descriptions for selected components. %] [%# Browser sniff to try and reduce the incidence of 4.x and NS 6/7 bugs %] [% IF cgi.user_agent("Mozilla/4") AND NOT cgi.user_agent("compatible") %]
Note: This is a tool for reporting bugs in software from mozilla.org. Use Netscape's bug reporting form to report bugs with Netscape products like Navigator 4.x. Netscape products have a blue and black N in the top right hand corner.
[% END %] [% IF cgi.user_agent('Netscape(\d)') %] [% matches = cgi.user_agent().match('Netscape(\d)') %]
You are using Netscape [% matches.0 %]. Report bugs with this browser to the Netscape [% matches.0 %] Feedback Center. This form is only for reporting bugs in the Mozilla web browser and other products from mozilla.org. To report a bug you find in Netscape [% matches.0 %] with this form, you must reproduce it first in a recent build of Mozilla to make sure the problem hasn't been fixed already.
[% END %]

This form prompts you for the information required to file a good bug report (or enhancement request.) It may seem lengthy, but developers need all this information to understand and reproduce the bug, which is the first step towards fixing it. Please note that we do not accept bug reports by email - please do not email developers or mozilla.org staff with bug reports. Also, please do not file Mozilla bugs on copies of Mozilla older than two weeks - first, download a newer build and check that the problem is still present.

Step 1 - search for your bug

You need to see if your bug has already been reported. Please don't skip this step. 50% of the bugs filed in Bugzilla are duplicates, and and this wastes a lot of our QA engineers' time.

[%# Stop NS 4.x and all v.3 browsers from getting [% END %]

Look through the search results. If you get the Zarro Boogs message, Bugzilla found no bugs that match. Check for typos, or add fewer or different keywords.

If you find a bug that looks the same as yours, you can add useful comments to that bug, but please don't open a new one. Please don't add comments like "please fix this bug" - this tends to annoy engineers and slow, rather than speed, the fixing of it.

If you find bugs similar to yours, read them and note which component they are in. You should file your bug in that same component.

Step 2 - give information

If you're pretty certain that your bug isn't in there already, then please try to complete this form as accurately as you can. The more you can tell us, the better our chance of being able to understand and reproduce your bug.

[%# We override rep_platform and op_sys for simplicity. The values chosen are based on which are most common in the b.m.o database %] [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %] [% op_sys = [ "Windows 98", "Windows NT", "Windows 2000", "Windows XP", "Mac System 9.x", "MacOS X", "Linux", "All", "other" ] %] [% matches = cgi.user_agent('Gecko/(\d+)') %] [% buildid = cgi.user_agent() IF matches %]
Product [% product FILTER html %]
Component

The area where the problem occurs. To pick the right component, you could use the same one as similar bugs you found in your search, or read the full list of component descriptions if you need more help.

Hardware Platform [% PROCESS select sel = 'rep_platform' %]
Operating System [% PROCESS select sel = 'op_sys' %]
Build Identifier
(User Agent)

If reporting a bug in Mozilla, this is the line beginning "Mozilla/5.0" in Help | About Mozilla. It identifies exactly the version of Mozilla you were using. If you are using the problem copy of Mozilla, this will be filled in correctly for you already. If Mozilla won't start, just enter the URL of the directory you downloaded it from.

URL

URL that demonstrates the problem you are seeing (optional.) IMPORTANT: If you are filing a bug about a broken web page, you need to read the Mozilla Web Developer FAQ, which explains how we handle old or badly-coded web pages.

Summary

A sentence which summarises the problem. Please be descriptive and use lots of keywords.

Bad example: mail crashed
Good example: crash if I close the mail window while checking for new POP mail

Details

Expand on the Summary. Please be as specific as possible about what is wrong.

Bad example: This page looks wrong in Mozilla. Other browsers display it correctly. You suck!
Good example: In the page at http://www.foo.com/, text in the first column should be fully justified -- text should be aligned with both the left and right margins. In Mozilla, the text is only left-justified.

Reproducibility

How often can you reproduce the problem?

Steps to Reproduce

Describe how to reproduce the problem, step by step. Include any special setup steps.

Actual Results

What happened after you performed the steps above?

Expected Results

What should the software have done instead?

Additional Information

Add any additional information you feel may be relevant to this bug, such as the theme you were using (does the bug still occur with the default theme?), a Talkback crash ID, or special information about your computer's configuration. Any information longer than a few lines, such as a stack trace or HTML testcase, should be added using the "Create a new Attachment" link on the bug, after it is filed.

If you are reporting a crash, note the module in which the software crashed (e.g., Application Violation in gkhtml.dll). On Macintosh, if you have MacsBug, attach the results of the how and sc commands.

Severity

How serious the problem is. Also, if your bug is a request for a new feature or enhancement, say so here.

Step 3 - submit the bug

That's it! Thanks very much. You'll be notified by email about any progress that is made on fixing your bug.

[% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK select %] [% END %]