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.
Some modules Display Suite and Pathologic both do not remove filter configuration upon uninstall. With this in mind Drupal 7 doesn't show these filter configuration settings for those modules... but it still exists in the database.
Consider adding some logic that will only pull filters from modules that are enabled.
Comments
Comment #2
generalredneckComment #3
generalredneckForgot to update status
Comment #6
iMiksuWe'll try to investigate why tests failed.
Comment #8
heddnThis needs some testing added.
Comment #9
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedRe-rolled for D8.4 and added short array syntax.
Comment #14
quietone CreditAttribution: quietone as a volunteer commentedComment #15
Wim LeersAFAICT this would also help prevent the problem of many D7 databases having thephp_code
filter still in some of its text formats (perhaps dating back to the D5/D6 days), which then causes all sorts of problems as described in #3061571: If no Drupal 8 equivalent filter is found during migration, drop transformation-only filters, so that body fields show up.EDIT: hm, less sure about this now… see next comment.
Comment #16
Wim LeersActually, on my own site, this is what I see.
php_code
filter is present on half a dozen formats, but is disabled on all but one, meaning it won't cause migration issuesThe problem still exists though, but only on Drupal 7 sites which were "relatively poorly" managed (to be fair, it's silly that Drupal 7 didn't take care of this automatically).
Demoting to
because I think this only affects a small fraction of D7 sites. But it definitely would improve reliability of migrations.Comment #23
mikelutz