#932502: Changing allowed values in "List" fields kindly renamed list types for us on December 18th, 2010 from list_number to list_float and from list to list_integer. I think media_gallery might actually want to use list_integer, but it was using list_number, so this patch just updates it to list_float.
This should also fix the update.php bug I've observed, where it displays these messages:
media_gallery_columns already exists and is not of type list_number. Installation cannot continue. Please remove this field or change its type.
media_gallery_block_columns already exists and is not of type list_number. Installation cannot continue. Please remove this field or change its type.
Because, as it looks like media_gallery matches existing fields with the definition, and the core update modified the existing field, but the definition is in media_gallery.install so the existing fields did not match.
| Comment | File | Size | Author |
|---|---|---|---|
| list-types-change.patch | 1.02 KB | gábor hojtsy |
Comments
Comment #1
dropcube commentedThis patch makes the module usable again. I still get several notices when installing the module, but seem not related to this.
Comment #2
JacobSingh commentedComitted.
Comment #3
rmarius commentedAfter applying this patch and enabling module i'm getting - "Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\includes\database\database.inc on line 1028". How to solve this...?