Open Bug 300309 Opened 19 years ago Updated 16 years ago

Whining should not have to insert an empty record into the DB

Categories

(Bugzilla :: Whining, defect)

2.20
defect
Not set
normal

Tracking

()

People

(Reporter: mkanat, Unassigned)

Details

Right now, when you create a new Whine it first inserts an "empty" record into
the DB and then updates it. This is pretty silly, particularly if you're using a
database that isn't MySQL.

This actually causes PostgreSQL to complain about NOT NULL constraints. I'm
fixing that in bug 296054 by giving some columns defaults that shouldn't have
defaults. That's the quick fix. The better, long-term fix is to fix
editwhines.cgi so that it doesn't have to insert an empty record, and then we
can remove the defaults that I added in bug 296054.
Assignee: nobody → whining
You need to log in before you can comment on or make changes to this bug.