On clean install the files table don't get updated. Moved the db_add_field function from update to install.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flickr_imagefield-825682.patch | 1.82 KB | sirkitree |
| fix_install.patch | 1.37 KB | lodin |
On clean install the files table don't get updated. Moved the db_add_field function from update to install.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flickr_imagefield-825682.patch | 1.82 KB | sirkitree |
| fix_install.patch | 1.37 KB | lodin |
Comments
Comment #1
sirkitree commentedThanks for calling my attention to this. I've taken it a step further to remove the field in the uninstall hook as well. Appreciate a test before I commit if you please.
Comment #2
jdwfly commentedFor those who come upon this like I did the error will look like this after you submit a node with an flickr_imagefield:
This patch applys clean and it does add the field on a clean install of the module. I double-checked the database and the field was in the files table. RTBC?
Comment #3
sirkitree commentedCommitted: http://drupal.org/cvs?commit=437384