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.
Implementation of hook_content_fieldapi() in fieldgroup.module looks for 'delete', however the correct operation is 'delete instance'.
Attached patch fixes this, and also fixes the function comment from "Implementation of hook_fieldapi()" to "Implementation of hook_content_fieldapi()".
Comment | File | Size | Author |
---|---|---|---|
fieldgroup.fieldapi.patch | 525 bytes | markus_petrux |
Comments
Comment #1
yched CreditAttribution: yched commentedRight - committed to 6.x-2.x (along with an update function to remove orphaned records).
Thx !
Comment #3
markus_petrux CreditAttribution: markus_petrux commentedReopening since the update function contains a little bug that cause an error when using table prefix.
The following SQL statement does not use table name delimiters for the table in the SELECT part:
Instead, it should look like this:
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedNo patch, but code can still be reviewed. Please, let me know if you prefer this in patch form.
Comment #5
yched CreditAttribution: yched commentedRight, fixed. Thanks !
Added the correct version as a new update, to be sure everyone gets it right.