- Issue created by @dieterholvoet
- Merge request !7Clean up required_plugin_options config & add config schema → (Merged) created by dieterholvoet
-
dieterholvoet →
committed c8e1e48c on 2.0.x
Issue #3491686 by dieterholvoet: Add config schema
-
dieterholvoet →
committed c8e1e48c on 2.0.x
- 🇬🇧United Kingdom jollysolutions
On updating the module and performing a
drush updb
I get the following error
------------------ ----------- --------------- ---------------------------------------------- Module Update ID Type Description ------------------ ----------- --------------- ---------------------------------------------- required_by_role 8001 hook_update_n 8001 - Clean up the required_plugin_options. ------------------ ----------- --------------- ---------------------------------------------- // Do you wish to run the specified pending updates?: yes. > [notice] Update started: required_by_role_update_8001 > [error] array_filter(): Argument #1 ($array) must be of type array, int given > [error] Update failed: required_by_role_update_8001 [error] Update aborted by: required_by_role_update_8001 [error] Finished performing updates.
- 🇧🇪Belgium dieterholvoet Brussels
dieterholvoet → changed the visibility of the branch 2.0.x to hidden.
- 🇧🇪Belgium dieterholvoet Brussels
That's weird, the plugin options are supposed to be arrays. I don't see how they could be an integer. I'll change the update hook to discard any non-array plugin options, since they don't carry any meaning anyway.
- Merge request !10Set options to an empty array if not an array → (Merged) created by dieterholvoet
- 🇧🇪Belgium dieterholvoet Brussels
I started a MR, let me know if it fixes your issue.
-
dieterholvoet →
committed 8d3da959 on 2.0.x
Issue #3491686 by dieterholvoet, jollysolutions: Add config schema
-
dieterholvoet →
committed 8d3da959 on 2.0.x