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.
Hi All,
I'm not sure this is feeds importer problem or feeds tamper problem.
I have a feeds importer called "abc" and created the tampers. The feeds tampers is not deleted while deleting the "abc" importer. I ll create the patch once i know whether it is feeds problem or feeds tamper problem.
Thanks in advance...
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedI think one problem here is, is that a Feeds importer could possibly be exported to code. A "deletion" of a Feeds importer could mean that it is only deleted from the database. So if someone exports the importer to a module, then deletes the importer, then enables the module, all his/her Tamper plugins would be gone.
Maybe upon deletion of the importer, there should at least be a warning that Tamper configuration would be deleted? This could be implemented by implementing a form alter hook on the Feeds importer deletion form.
Then there's also an issue when an importer lives in code. If the module that contains that importer gets disabled, the Tamper plugins will remain, while the importer would no longer exist.