Bug description with only whitespaces oopses

Bug #68203 reported by Diogo Matsubara
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

Steps to reproduce (using sample data):
1. Open: http://launchpad.dev/products/firefox/+bug/1/+edit;
2. Delete 'Description';
3. Fill in 'Description' one whitespace;
4. Click 'Change';
5. Crash like: OOPS-297C523 IntegrityError ERROR: new row for relation "bug" violates check constraint "no_empty_desctiption"

or

1. Open: http://bugs.launchpad.dev/firefox/+filebug-advanced
2. Fill in any Summary;
3. Fill in 'Description' one whitespace;
4. Click Submit Bug report
5
. OOPS-406C806 AssertionError createBug requires a comment, msg, or description

Recently: OOPS-979D3742 or OOPS-979F3381

Related branches

description: updated
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Also note there's a typo in the constraint triggered. It would be nice to have that fixed too while fixing this bug.

IntegrityError: ERROR: new row for relation "bug" violates check constraint "no_empty_desctiption"

Changed in malone:
assignee: nobody → bjornt
Revision history for this message
Diogo Matsubara (matsubara) wrote :

A similar issue occurs when you try to file a bug with only whitespaces as its description
OOPS-406C806

description: updated
Ursula Junque (ursinha)
description: updated
Changed in malone:
assignee: Björn Tillenius (bjornt) → nobody
Changed in launchpad:
importance: Medium → Critical
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Curtis Hovey (sinzui)
summary: - Bug description with only whitespaces should return a nice error message
- instead of crashing
+ Bug description with only whitespaces oopses
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.03
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.