During installation, the table headerimage is not installed because field: "condition" of type: "text" has a default value
Running Database MySQL 5.0.41 on windows
on Linux creating a default value for text fields works fine
Had same problem also with another module openresort (maintainer changed the code)
Its a know bug on windows but because of default settings in Linux is doesn't happen in Linux
Solution: don't give a default value for BLOB/TEXT fields
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | headerimage.280734_d5.patch | 1.15 KB | sutharsan |
| #2 | headerimage.200807151.patch | 743 bytes | ppblaauw |
| #1 | headerimage.280734.patch | 1.51 KB | sutharsan |
Comments
Comment #1
sutharsan commentedThanks for reporting.
Also PostgreSQL should not have a default for text field types, but is less strict.
The attached patch solves it for both. Please test and let me know.
Comment #2
ppblaauw commentedThanks for the patch.
Your patch is for drupal version 5.
You don't have to delete NOT NULL, only default ''
The attached patch is for drupal 6
Comment #3
sutharsan commentedThanks for your comments. Attached patches for 5.x-1.x-dev and HEAD have been committed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.