Closed (fixed)
Project:
TableField
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jan 2014 at 14:01 UTC
Updated:
2 May 2015 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marty2081 commentedAs described in the documentation of hook_field_formatter_info() on api.drupal.org:
"To avoid name clashes, formatter type names should be prefixed with the name of the module that exposes them. "
The Tablefield module used "default" as the type name which probably clashes. When this is prefixed by "tablefield_" you can select the "Tabular view" formatter again.
A patch is attached.
Comment #2
marty2081 commentedComment #3
bisonbleu commentedRan into this issue today with Drupal 7.28. Applying patch in #1 to latest dev (7.x-2.3+0-dev) fixed the problem. Thanks @Marty2081 !
Comment #4
vitalie commentedThx @Marty2081. I've added to your patch some code that adds an update hook to update all field instances to the new format name.
Needs testing. Please first make sure you Drupal install is in a state as described by the issue and in which tablefield is in version 7.x-2.x, then download latest dev version of 7.x-2.x and apply the patch. Finally run the update script.
Comment #6
vitalie commented