Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | tablefield-field_not_appear-2167059-4.patch | 1.62 KB | vitalie |
#1 | tablefield-always-hidden-in-output-2167059-1.patch | 722 bytes | Marty2081 |
Comments
Comment #1
Marty2081 CreditAttribution: 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 CreditAttribution: Marty2081 commentedComment #3
bisonbleu CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: vitalie commented