#3072 closed defect (bug) (fixed)
Autosave breaks when there are no categories selected
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Steps to recreate:
- Start a post
- Uncheck any category boxes
- Wait until autosave kicks in
This is the error message I saw:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2]
INSERT INTO wp_post2cat (post_id, category_id) VALUES (55, )
Change History (4)
- Milestone set to 2.1
- Priority changed from normal to high
- Version set to 2.1
Just to confirm, does this still insure that every post has at least 1 category? (The default.)
Note: See
TracTickets for help on using
tickets.

(In [4119]) Handle posts with an empty cat list. fixes #3072