- Issue created by @Grevil
- 🇩🇪Germany Grevil
Kinda stuck here with the whole schema definition....
Drupal\Tests\billwerk_subscriptions\Functional\BillwerkSubscriptionsGenericTest::testModuleGenericIssues
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for system.action.billwerk_user_contract_ids_clear_action with the following errors: system.action.billwerk_user_contract_ids_clear_action:configuration missing schemaI doubt, that I need to define a system schema. Especially for an action which is basically untouched and doesn't have a "configuration" property.
UPDATE: Found it! Inside "config/optional/system.action.billwerk_subscriptions_fetch_and_assing_billwerk_contract_ids.yml", we had the following entry:
configuration: overwrite_existing: false
This doesn't make sense, as the action doesn't have any configuration.
- Status changed to Postponed
12 months ago 1:11pm 19 April 2024 - 🇩🇪Germany Grevil
Ok, I still don't get the issue mentioned in #3 🐛 Fix schema and other test issues Active . I disabled schema validation and now we get the error message from 🐛 Enabling the "billwerk_subscriptions_entities" throws an error and undocumentet d Active , so I'll postpone this issue on that one for now.
- Assigned to Anybody
- Status changed to Needs review
12 months ago 2:43pm 23 April 2024 - 🇩🇪Germany Grevil
I would suggest actually adding the preUninstallSteps to a custom uninstall hook, this way, we do not define a test workaround but actually fix the problem.
There is also the possibility to add a dependency on the module itself. But this doesn't fix the issue. Please review - 🇩🇪Germany Grevil
Eventually we can also leave this MR as is, as it might destroy the site to simply delete these configurations in an uninstall hook.
- 🇩🇪Germany Anybody Porta Westfalica
@Grevil let's discuss and finish this tomorrow!
- Assigned to Grevil
- 🇩🇪Germany Anybody Porta Westfalica
@Grevil: I guess this is similar to 🐛 Trying to reinstall the "billwerk_subscriptions_entities" leads to configuration errors Active ?
- Merge request !38Resolve #3442075 "Fix using enforced config dependencies" → (Merged) created by Anybody
- Merge request !39Added enforced dependencies on the required parent module to allow clean uninstall. → (Closed) created by Anybody
- Status changed to Needs work
12 months ago 7:58am 24 April 2024 - Issue was unassigned.
- Status changed to RTBC
12 months ago 8:08am 24 April 2024 - 🇩🇪Germany Anybody Porta Westfalica
Enforced dependencies were a great idea! I also found some minor issues in the configs I fixed. Merging!
- Status changed to Fixed
12 months ago 8:08am 24 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.