#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.

CommentFileSizeAuthor
list-types-change.patch1.02 KBgábor hojtsy

Comments

dropcube’s picture

Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

This patch makes the module usable again. I still get several notices when installing the module, but seem not related to this.

JacobSingh’s picture

Status: Reviewed & tested by the community » Fixed

Comitted.

rmarius’s picture

After 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...?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.