After updating drupal to 7.25 from 7.24, the tablefield doesn't show, in views it doesn't show, in node display suite it's always hidden with no other option.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Marty2081’s picture

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

Marty2081’s picture

Status: Active » Needs review
bisonbleu’s picture

Ran 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 !

vitalie’s picture

Version: 7.x-2.2 » 7.x-2.x-dev
Assigned: chevali » vitalie
FileSize
1.62 KB

Thx @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.

  • vitalie committed 4dd5fb2 on 7.x-2.x
    Issue #2167059 by Marty2081, vitalie: field doesn't appear after...
vitalie’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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