Bug Report Template
Template​
# Bug Report: [Short Bug Title]
## Issue Summary
### Description
[A clear and concise description of the bug]
### Environment
- **OS:** [e.g., macOS 12.1]
- **Browser:** [e.g., Chrome 97.0.4692.71]
- **App Version:** [e.g., 1.2.3]
- **Device:** [e.g., MacBook Pro M1]
### Severity
- [ ] Critical (System crash, data loss)
- [ ] High (Major feature broken)
- [ ] Medium (Feature partially broken)
- [ ] Low (Minor issue)
### Priority
- [ ] Immediate (24h)
- [ ] High (3 days)
- [ ] Medium (1 week)
- [ ] Low (2 weeks)
## Steps to Reproduce
1. [First Step]
2. [Second Step]
3. [Third Step]
4. [...]
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Error Information
### Error Message
[Paste the exact error message here]
### Stack Trace
[Paste the stack trace here if available]
### Console Output
[Paste any relevant console output]
## Additional Context
### Screenshots
[Add screenshots if applicable]
### Video Recording
[Add video link if applicable]
### Related Issues
- [Link to related issue #1]
- [Link to related issue #2]
## Debug Information
### Code Version
```bash
git rev-parse HEAD
[Commit hash]
Dependencies​
{
"dependency1": "version",
"dependency2": "version"
}
Configuration​
{
"setting1": "value1",
"setting2": "value2"
}
Impact​
Affected Users​
- All Users
- Specific User Group: [Specify]
- Single User
Business Impact​
[Description of business impact]
Workaround​
[Temporary solution if available]
Investigation Notes​
Attempted Solutions​
- [Solution 1]
- [Solution 2]
Relevant Logs​
[Paste relevant log entries]
Debugging Steps​
- [Step 1]
- [Step 2]
- [Step 3]
Usage Guide​
When to Use​
- Reporting software bugs
- Tracking system issues
- Documenting defects
- Creating QA reports
Best Practices​
-
Issue Summary
- Be clear and concise
- Include version info
- Set correct severity
- Set appropriate priority
-
Reproduction Steps
- Be specific
- Include all steps
- Note preconditions
- List requirements
-
Error Information
- Include full messages
- Add stack traces
- Show console output
- Attach logs
-
Context
- Add screenshots
- Include videos
- Link related issues
- Show configurations
Example​
# Bug Report: Login Form Submission Fails on Safari
## Issue Summary
### Description
Users are unable to submit the login form on Safari browsers. The submit button becomes unresponsive after clicking, and no error message is displayed.
### Environment
- **OS:** macOS 13.2.1
- **Browser:** Safari 16.3
- **App Version:** 2.1.0
- **Device:** MacBook Pro M1
### Severity
- [x] Critical (System crash, data loss)
- [ ] High (Major feature broken)
- [ ] Medium (Feature partially broken)
- [ ] Low (Minor issue)
### Priority
- [x] Immediate (24h)
- [ ] High (3 days)
- [ ] Medium (1 week)
- [ ] Low (2 weeks)
## Steps to Reproduce
1. Navigate to https://app.example.com/login
2. Enter valid email and password
3. Click the "Sign In" button
4. Observe that nothing happens
## Expected Behavior
The form should submit, and upon successful authentication, redirect to the dashboard.
## Actual Behavior
The form does not submit. The button becomes unresponsive with no visual feedback or error message.
## Error Information
### Console Output
TypeError: Cannot read property 'preventDefault' of undefined at HTMLFormElement.handleSubmit (login.js:24) at HTMLFormElement.submit (login.js:12)
### Network Tab
No network requests are made when clicking the submit button.
## Additional Context
### Screenshots

### Video Recording
[Login Error Screen Recording](link/to/video)
### Related Issues
- Issue #234: Similar form submission issue on Firefox
- Issue #156: Event handler bugs in Safari
## Debug Information
### Code Version
```bash
git rev-parse HEAD
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9
Dependencies​
{
"react": "18.2.0",
"react-dom": "18.2.0",
"formik": "2.4.5",
"yup": "1.3.2"
}
Impact​
Affected Users​
- All Users
- Specific User Group: Safari Browser Users
- Single User
Business Impact​
Users on Safari (approximately 15% of our user base) cannot log in to the application, resulting in support tickets and potential loss of business.
Workaround​
Users can temporarily use Chrome or Firefox browsers until the issue is resolved.
Investigation Notes​
Attempted Solutions​
- Cleared browser cache and cookies
- Tested with different Safari versions
- Checked for JavaScript conflicts
- Verified form event binding
Debugging Steps​
- Added console logs to track form submission flow
- Inspected event listeners in Safari debugger
- Tested form submission with different event handling approaches