- Issue created by @alison
Looking at my config YML for a webform with the webform product handler in use, I noticed that a bunch of elements I deleted are still included in third_party_settings.webform_product
. I don't think this is doing any real harm, but probably these elements should no longer be in the webform_product settings?
"I don't think this is doing any real harm" -- things I tried so far, to see if I could cause trouble:
''
).Set up a webform with Webform product functionality (i.e. create a webform, add the "Order" elements that Webform Product requires (order ID, order status, order URL), add a webform product handler).
Add one or more elements to your webform -- no need to fill in price info, just add any elements, of any type.
Export the config YML for your new webform.
Remove an element (not one of the required "Order" fields, one of the elements you added in step 3).
Re-export your webform config YML.
Note that the deleted elements are still included in third_party_settings.webform_product
.
Webform config example:
a_second_checkbox
is not in the elements
config variable.
When webform elements are deleted, remove them from webform_product settings/config.
Active
3.1
Code