- 🇮🇹Italy kopeboy Milan
Now I'm stuck with errors, I cannot even content types that referenced to entity types that were referenced in a feed created with the fetcher from this module.
Apparently without a proper schema my past feeds were not deleted correctly, the error I get is:
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "clear own MY_DELETED_FEED_TYPE feeds", "create MY_DELETED_FEED_TYPE feeds", "delete own MY_DELETED_FEED_TYPE feeds", "import own MY_DELETED_FEED_TYPE feeds", "schedule_import own MY_DELETED_FEED_TYPE feeds", "update own MY_DELETED_FEED_TYPE feeds", "view MY_DELETED_FEED_TYPE feeds". in Drupal\user\Entity\Role->calculateDependencies() (line 206 of /var/www/html/web/core/modules/user/src/Entity/Role.php).
- 🇮🇹Italy kopeboy Milan
I leave this here in case it can help others:
I was able to fix the error by- exporting my site configuration (/admin/config/development/configuration/full/export)
- uncompress it and search for my broken feed_type_name,
- deleting the lines with them in the .yml files that I found,
- importing back the single changed files (/admin/config/development/configuration/single/import)
- after selecting the right configuration type,
- pasting the contents of the file, in the "advanced" section setting typing the id of the entity that the file was defining,
- importing.
- 🇩🇪Germany sleitner
I'm not a config schema expert. Feel free to test the attached file.
- Status changed to Fixed
over 1 year ago 9:59am 27 April 2023 Automatically closed - issue fixed for 2 weeks with no activity.