Closed (fixed)
Project:
DB Maintenance
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2018 at 16:14 UTC
Updated:
29 May 2026 at 17:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
temkin commentedLooks like State API is a better fit for that - https://www.drupal.org/docs/8/api/state-api/overview
I'll try to contribute a patch for that if time permits.
Comment #3
temkin commentedPatch attached.
Comment #4
jeroentI'm not really a fan of this ConfigHandler class, but since it exists, people could extend or use this in their own custom codes. Making this a BC break.
So the change with the least disruption would be to replace the config service with the state service in those 2 methods.
Comment #5
jeroentAlso, this probably needs an update hook to remove this unused config value for users who have this module currently installed.
Comment #6
jeroentIt looks like there are some more problems with the current config. Updated the IS.
Patch attached removes the unused config values like form_build_id_form_token, .... The config schema is updated so table_list now is also recognized by the config manager.
And I provided an upgrade path to fix config for existing sites.
Comment #7
thejimbirch commentedThe patch applies cleanly, and config defaults for all the options in the settings.
Not setting as RTBC because I didn't test the update hook. I applied patch on a new installation.
Thanks!
Comment #8
orkutmuratyilmazHello all,
I've tried the patch #6 on 3 different installations and it worked so smooth. Thank you @JeroenT for the patch.
Also, @thejimbirch, I've tried running
drush updbtoo. They worked well. So I'm setting this issue as RTBC.Best,
Orkut
Comment #9
adamcadot commentedThe patch does not apply to the latest version of the module.
Comment #10
orkutmuratyilmazComment #13
orkutmuratyilmaz@adamcadot can you check the latest 3.0.x-dev? I'm going to change the status of the issue as fixed, if it is okay.
Comment #14
adamcadot commentedConfig exports as expected, and the update hook works without error.
Comment #15
orkutmuratyilmaz@adamcot, thanks for the testing and validating too:)
Comment #17
adamcadot commented@orkutmuratyilmaz Can we get this into a new RC?
Comment #18
orkutmuratyilmazNew RC is released, thanks for reminding.
Comment #19
adamcadot commentedCheers, thanks for cleaning up these multi-year-long issues!