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.
In file content.diff.inc
there's a loop for all CCK fields in the nodes being compared and generates a row in $results even when field is not explicitly supported by this loop.
When a CCK field implements diff support, it generates its own results that are mixed by module_invoke_all used in diff module.
The attached patch fixes this. It generates results for diff module only for fields directly supported.
Comment | File | Size | Author |
---|---|---|---|
content.diff.inc_.patch | 422 bytes | markus_petrux |
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedPlease, see the following issue in Money's queue for an example where this bug arised:
#341365: Implement hook_diff() for improved revision management
Comment #2
yched CreditAttribution: yched commentedFixed in 6.x-2.x (slightly different fix). Thanks !
I also removed the 'links module' code branches, they don't belong in CCK.