[%# 1.0@mozilla.org %] [%# 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 #%] [% PROCESS global/variables.none.tmpl %] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% PROCESS global/header.html.tmpl title = "Enter $terms.ABug" 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 [% terms.bug %] entry templates in particular. You will need to alter the text of this template if you want to use it on your [% terms.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 [% terms.bugs %] in software from mozilla.org. Use Netscape's [% terms.bug %] reporting form to report [% terms.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 [% terms.bugs %] with this browser to the Netscape [% matches.0 %] Feedback Center. This form is only for reporting [% terms.bugs %] in the Mozilla web browser and other products from mozilla.org. To report [% terms.abug %] you find in Netscape [% matches.0 %] with this form, you must reproduce it first in a recent build of Mozilla, Firefox or Camino to make sure the problem hasn't been fixed already.
[% END %]

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

Step 1 - search for your [% terms.bug %]

Please see if your [% terms.bug %] has already been reported. Please don't skip this step. 50% of the [% terms.bugs %] filed in [%+ terms.Bugzilla %] are duplicates, 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 [% terms.zeroSearchResults %] message, [% terms.Bugzilla %] found no [% terms.bugs %] that match. Check for typos, or add fewer or different keywords.

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

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

Step 2 - give information

If you're pretty certain that your [% terms.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 [% terms.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 [% terms.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 [% terms.abug %] 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 [% terms.abug %] about a broken web page, please 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 [% terms.bug %], such as the theme you were using (does the [% terms.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 [% terms.bug %], after it is filed. If you believe that it's relevant, please also include your build configuration, obtained by typing about:buildconfig into your URL bar.

If you are reporting a crash, note the module in which the software crashed (e.g., Application Violation in gkhtml.dll).

Severity

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

Step 3 - submit the [% terms.bug %]

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

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