Posted by MPetrovic on February 3, 2011 at 6:41pm
1 follower
| Project: | Creative Commons |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When attempting to apply a license to a node, drupal returns this error:
Field 'description' doesn't have a default value query
Text fields in MySQL can't have a default value. If the description field isn't enabled, it's not appearing in the metadata array, and thus, isn't being added to the INSERT query. So MySQL errors at us.
Comments
#1
patch attached
#2
cleaner patch attached