- Issue created by @heddn
- Status changed to Needs review
over 1 year ago 5:36pm 13 June 2023 - last update
over 1 year ago Patch Failed to Apply - heddn Nicaragua
This adds a schema, but I'm not sure that is the right solution.
- πΊπΈUnited States jrockowitz Brooklyn, NY
The setting is right here.
https://git.drupalcode.org/project/webform/-/blob/6.2.x/config/schema/we...Did your version of webform correctly update?
- heddn Nicaragua
If I set any value but
default_categories: { }
, it tells me that the value should be an empty array. - πΊπΈUnited States jrockowitz Brooklyn, NY
Hmm. With config inspector adding categories appears to be okay.
- π¨π¦Canada rbrownell Ottawa, Ontario, Canada
I'm having similar issues. This is breaking a config-sync operation by indicating the configuration is out of sync that of my local file system. When I look at the differences, it appears that the latest version of Webform has replaced the `category` with the `categories` configuration. There doesn't appear to be a proper update routine that ensures the value contained within `category` is retained before it is changed.
- πΊπΈUnited States jrockowitz Brooklyn, NY
There is a post-update hook for changing category to categories
webform_post_update_multiple_categories()
_webform_update_webform_settings()
_webform_update_webform_setting()
_webform_update_webform_setting_properties()For #6, try running drush webform-repair.
- Status changed to Postponed: needs info
over 1 year ago 2:37am 16 June 2023 - Status changed to Closed: cannot reproduce
over 1 year ago 7:32pm 28 June 2023 - heddn Nicaragua
I'm no longer able to reproduce this. Closing it. I must have been on an older tag of webform.