Bug/Enhancement Reporting Guidelines

The Koha project makes use of a Bugzilla based bug tracking system. It is very important for Koha to have bugs listed on bugzilla. That is the list that the developers work from. If a bug is just mentioned in a posting to a mailling list, or just mentioned on IRC (chat) it can very easily slip through the cracks.

What is a bug?

A bug can be quickly identified as a problem with Koha. However, it is much more complicated than that. It can be a behavioural problem, or a component that does not work at all. It even applies to documentation that is incorrect. We also utilize Bugzilla for “future enhancements” or “feature requests”.

Bug Reporting Steps

Determine if you have a new bug

The first step to submitting a bug is to see if someone else has a similar problem to you.

  1. Search for an existing or similar bug
  2. If you find a similar bug, add yourself to the CC for the bug to be kept informed of progress. Leave a comment if you have something to add or wish to offer help in some way.
  3. Create a Bugzilla account (if needed)
  4. If you are unable to find an existing bug report, congratulations, you found a new bug! Click the new bug button to begin entering a new bug.

How to write good bug reports

Effective bug reports are the most likely to be fixed. These guidelines explain how to write such reports.

Principles

  • Be precise
  • Be clear - explain it so others can reproduce the bug. Screenshots and short narrated movies (Jing is a good free screen capture utility) are helpful as well.
  • One bug per report
  • No bug is too trivial to report - small bugs may hide big bugs
  • Clearly separate fact from speculation

Preliminaries

  1. Reproduce your bug using a recent build of the software, to see whether it has already been fixed.
  2. Search Bugzilla, to see whether your bug has already been reported.

Reporting a New Bug

If you have reproduced the bug in a recent build and no-one else appears to have reported it, then:

  1. Choose “Enter a new bug”
  2. Fill out the form. Here is some help understanding it:

Component: Select the appropriate component. If you are unsure what area of Koha to report the error under, view the component list.

Platform: In most cases you can leave this as 'PC', as the OS is much more relevant.

OS: Select your operating system. If you are unable to find your exact operating system, please pick the closest approximation and in the body of the ticket explain what operating system you are using.

Priority: The ticket priority helps us triage issues. Setting an appropriate level of priority helps us immensely.

Priority Description
P1This bug blocks development or testing work and should be fixed ASAP
P2This bug blocks usability of a large portion of Koha, and really should be fixed before the next planned release
P3Seriously broken, but not high impact. Should be fixed before next major release. Can include cosmetic bugs of particularly high visibility, and more minor bugs that are frequently reported
P4Either a fairly straightforward workaround exists or the functionality is not very important and/or not frequently used
P5Not that important, just fix when time permits

Severity: This goes hand-in-hand with the priority line – how bad do you think this bug is? This field describes the impact of a bug on a user. If a bug occurs with great frequency, it can be moved up in severity even if it doesn't meet the other criteria in that category.

Severity Description
BlockerNeeds to be fixed and an update released immediately.
Critical Koha or component crashes and/or there is a potential loss of data
MajorA major part of the component is nonfunctional.
NormalA minor part of the component is nonfunctional.
MinorThe component mostly works, but causes some irritation to users.
TrivialThe component works with 100% functionality, but has visible typos or other cosmetic problems
EnhancementGenerally a feature request for functionality that does not currently exist. These can be useful as guides for future product improvements.

Summary: How would you describe the bug, in approximately 60 or fewer characters? A good summary should quickly and uniquely identify a bug report. It should explain the problem, not your suggested solution.

  • Good: “Cancelling a File Copy dialog crashes File Manager”
  • Bad: “Software crashes”
  • Bad: “Browser should work with my web site”
Description:

The details of your problem report, including:

Overview: More detailed restatement of summary.

Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug. Include any special setup steps.

Example:

      1. View any web page. (I used the default sample page, resource:/res/samples/test0.html)
      2. Drag-select the page. (Specifically, while holding down the mouse button, drag the mouse pointer downwards from any point in the browser's content region to the bottom of the browser's content region.)

Actual Results: What the application did after performing the above steps. Example:

     The application crashed.

Expected Results: What the application should have done, were the bug not present. Example:

     The window should scroll downwards. Scrolled content should be selected. 
          (Or, at least, the application should not crash.)

Version: Select the version of Koha you are experiencing this issue under. (If you are unsure of the version of Koha you are using you can find the version in either the Intranet interface by selecting the “About” page, or else view the contents of your koha.conf file.) Additional Builds and Platforms: Whether or not the bug takes place on other platforms (or browsers, if applicable).

     Doesn't Occur in 3.0.5

Additional Information: Any other useful information.

Double-check your report for errors and omissions, then press “Commit”. Your bug report will now be in the Bugzilla database.

Bugzilla includes a general purpose bug writing guidelines page that you should review in its entirety before submitting a bug to Koha.

Enhancement/Sponsorship Guidelines

All Enhancements or sponsored items will be entered into http://bugs.koha.org which will allow users and developers access to what is currently in development as well as items that are being considered by libraries. Comments can be made on enhancements which will provide details for the development of the enhancement and to work out details with the libraries interested in the enhancement. This page of Enhancement instructions outlines what needs to be put into the enhancement when entering into bugzilla.

Ideas already sponsored

Ideas currently seeking developers

Ideas in search of money to make them happen

Oh my! Thats too hard!

If you think that you may have discovered a bug but are not quite sure or comfortable posting it on Bugzilla post a message to one of the mailing lists and others can give advice:

What is Bugzilla?

Bugzilla is a database of bugs and feature requests developed by the [http://www.mozilla.org Mozilla] project. It helps developers keep track of what's broken and who's fixing it. Users can help by making bug reports clear and specific. The better your bug report, the easier it is to identify the cause, and fix the bug.

 
bugreportingfornewbies.txt · Last modified: 2010/04/12 16:53 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki