Problem/Motivation
I used https://www.drupal.org/project/config_inspector on a fresh install to check the outcome before and after saving the photoswipe settings page.
For my existing installation, it contains several errors and strange values, like
- actions Undefined undefined missing schema
- form_build_id Undefined undefined form-UNJpKyd42W8Wa5YiVHaQtQ0Yyp7N3585EYLUSbx9PsE missing schema
- form_token Undefined undefined I7h6ZNZNxprT9k73EojxlK9OtXvjVYrm_2WxE62UBng missing schema
- form_id Undefined undefined photoswipe_admin_settings missing schema
. which should definitely not be there and I think came in due an issue with settings form values saving...?
Steps to reproduce
Install photoswipe
Export the configuration, see everything is fine
Save the photoswipe settings form
Export the configuration again and see the unexpected values saved.
Proposed resolution
Fix the settings form and write an update hook to remove the unwanted values.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Issue fork photoswipe-3305446
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyOkay, just tried to delete those unwanted keys and resaved the settings form afterwards and they are back:
So this is definitely an issue.
We also need an update hook afterwards to remove them.
Comment #3
anybodyComment #5
anybodyComment #6
grevil commentedLooks good!
Comment #8
anybodyThank you, @Grevil! Merged! :)