Rapportera buggar och problem
För att kunna rapportera en bugg i Joomla! bugg-tracker, behöver du skapa ett tracker-item. När ett tracker-item är skapat, kommer utvecklarna att kontrollera giltigheten av det och agera därefter. Om du vill hjälpa till att testa Joomla-patchar, vänligen följ dessa detaljerade instruktioner om hur man går tillväga.
- 1 Rapportera bugg
- 1.1 Registrera ett konto på GitHub
- 1.2 Använd Joomla! problem-tracker.
- 1.3 Kontrollera för att se om felet du vill rapportera redan är rapporterat.
- 1.4 Provide a summary
- 1.5 Provide details about the bug
- 1.6 Issue a pull request directly on Joomla!'s GitHub repository
- 1.7 Extra tips and tricks
- 2 Reporting security issues
Registrera ett konto på GitHub
För att kunna rapportera buggar behöver du registrera ett konto på ; Joomla! problem-tracker använder GitHub för autentisering.
Använd Joomla! problem-tracker.
- Joomla! Issue Tracker- Aktiv
Kontrollera för att se om felet du vill rapportera redan är rapporterat.
En serie filter visar tracker-posterna och kan nås genom att klicka på knappen "Search Tools" i toppen på listan. Genom att föra muspekaren över tracker-posternas rubriker visas deras innehåll. Om problemet du upplever inte redan har rapporterats, klicka på knappen "New Item" i huvudnavigeringen.
En ny sida visas och ju mer information du lämnar, desto enklare blir det för utvecklarna.
Fyll i så mycket data du kan. Du kan aktivera tips för varje fält genom att växla "View Mode" på höger sida från Pro till Help.
- Priority : Använd som standard "Medium", utom om du kan koden tillräckligt för att göra ett annat val.
- Build : Skriv här den/de version(er) som berörs av problemet
- Categories : This one is more tricky. Use "Administration" if you do not know better.
- Title : A short summary of the issue.
- Description : Details of the issue. Please see the section below for more info.
- Uploads : Users are permitted to upload images to issue reports. Information about upload requirements is listed on the report form.
Provide a summary
Describe in a few words the issues you are having. It is generally a good idea to use existing tracker items as examples if this is your first time reporting a bug.
- Front-end: Warning such and such.
- Back-end: Unable to save article when "nameofplugin" is published.
Note: Take care to be descriptive in your summary as this is the first thing the developers will see when they are perusing the tracker for something to fix.
Provide details about the bug
To provide the most information possible, the tracker populates the description field with a template with five sub-sections:
- Steps to reproduce the issue : Detailed steps on how another person can reproduce the issue.
- Expected result : What you believe should happen when you perform the steps above.
- Actual result : What actually happened when performing the above steps
- System information : Information about the environment your system is configured in. This could include the browser you are using, the PHP version from your server, or the database type your site is using. For optimal results, you can copy this data from your site's System Information view when logged into the administrator section.
- Additional comments : Any additional information not provided above that would be beneficial to troubleshooting and resolving the issue.
The general format should be something like:
- "Here is exactly what I did."
- "This is what happened."
- "This is what I think should have happened."
- "Other information, possible solution, proposed code patch."
The more details, the better. Also, it is important to reproduce the bug using the sample Joomla! website or with easy, clear instructions for how to set it up. Remember that others will not have access to your site's database, so you will need to be able to tell someone how to see the bug with data that is readily available -- the sample site.
- What I did
- Started with sample website. Everything was ok. I enabled "nameofplugin". Try to save any article from back end.
- What happened
- I get a blank screen and article is not saved.
- What should have happened
- Articles should save correctly.
- Other information
- These are the plugins enabled at the same time. SEF is on (or Off). My site is in a sub-folder. I also remark that... etc. Files such and such are the issues IMHO (if you know what you are talking about).
- What I did
- Navigate to Back-end. Click on "menu_name" Menu.
- What happened
- Page opened is blank.
- What should have happened
- Menu should have opened correctly.
- Other information
- Any other menu works OK. etc.
- What I did
- Started with the sample website.
- Added an unpublished article from the back end, with Section=FAQ, Category=General.
- In the advanced parameters for the article, set Show Title to "No" and Print, PDF, and Email Icons to "Hide".
- Save the article and navigate to front end. Login to the front end as admin and navigate to the Example Pages -> Category Blog menu item.
- What happened : The newly added article shows but there is no edit icon for the front-end user to click on.
- What should have happened : The edit icon should show, allowing a front end user to edit this article.
- Other information : This only happens with the rhuk_milkyway template. By changing this code [code proposed] in file [name and hierarchy of file], line(s) #, the issue looks solved on my settings.
Issue a pull request directly on Joomla!'s GitHub repository
If you wish to propose a fix by directly providing the code within Joomla! itself, you may do so by issuing a "pull request" in Joomla!'s code repository on GitHub.com, located here: https://github.com/joomla/joomla-cms
This process requires some knowledge regarding Source Control Management systems and Git in particular. If you do know what the Git SCM is and how it works, the process is simple:
- Sign up for a free GitHub.com account
- Fork the Joomla! repo
- Switch to the "staging" branch if you wish to propose a fix for the current Joomla! 3.x release or to the "3.x-dev" branch if you want to propose a fix for the next Joomla! Version 3.x.
- Add/update the related files in Joomla! in the right branch and the click on the "review & compare" button - more info on this here https://help.github.com/articles/using-pull-requests - to start the "pull request" issuing process.
Extra tips and tricks
Well-written bug reports are incredibly helpful. However, there's a certain amount of overhead involved in working with any bug tracking system, so your help in keeping our ticket tracker as useful as possible is appreciated. In particular:
- Do read the FAQ to see if your issue might be a well-known question.
- Do search the tracker to see if your issue has already been filed.
- Do ask on bug reporting forums for Joomla 3.x first if you're not sure if what you're seeing is a bug.
- Do write complete, reproducible, specific bug reports. Include as much information as you possibly can, complete with code snippets, test cases, etc. A minimal example that illustrates the bug in a nice small test case is the best possible bug report.
- Don't use the tracker system to ask support questions. Use the Joomla! forums, or the #joomla IRC channel on freenode for that.
- Don't use the trackers to make large-scale feature requests. We like to discuss any big changes to Joomla!'s core on the developers forums before actually working on them.
- Don't reopen issues that have been marked "not a bug". This mark means that the decision has been made that we can't or won't fix this particular issue. If you're not sure why, please ask on developer forums.
- Don't use the tracker for lengthy discussions, because they're likely to get lost. If a particular tracker item is controversial, please move discussion to developer forums.
Reporting security issues
Report security issues to security [at] joomla [dot] org. This is a private list only open to long-time, highly trusted Joomla! developers, and its archives are not publicly readable.
In the event of a confirmed vulnerability in Joomla! itself, we will take the following actions:
- Acknowledge to the reporter that we've received the report and that a fix is forthcoming. We'll give a rough timeline and ask the reporter to keep the issue confidential until we announce it.
- Halt all other development as long as is needed to develop a fix, including patches against the current and two previous releases.
- Determine a go-public date for announcing the vulnerability and the fix. To try to mitigate a possible "arms race" between those applying the patch and those trying to exploit the hole, we will not announce security problems immediately.
- Publicly announce the vulnerability and the fix on the pre-determined go-public date. This will probably mean a new release of Joomla! but in some cases it may simply be patches against current releases.