Duplicate SQL error on content type with no 'Body'
jromine - July 22, 2009 - 00:07
| Project: | Remember Filter |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
When you have a content type with no Body field, and you edit/save an existing node of that type, you get an error message about a Duplicate INSERT.
Repeat by:
Create a new content type with no body (Body field label is blank).
Create a node of the new content type and save.
Edit/save the node a second time.
Error message:
user warning: Duplicate entry '1' for key 1 query: INSERT INTO remember_filter (uid, format) VALUES ('1', '0') in modules/remember_filter/remember_filter.module on line 39.

#1