After upgrading the bundle, you should migrate your database to remove the useless UNIQUE
index for field name
from table effiana_config_setting
. The PRIMARY
index for field name
will remain.
-
If you're overriding the template
modify_form.html.twig
in your project, you probably need to adapt it to changes in the built-in form type. Before, two hidden form fieldsname
andsection
were added only to read theirvalue
variable in the template. They have been removed now. But you can still access the properties of settings in the template via thevalue
variable of eachsetting
form field:before:
{% for setting in form.settings %} {{ setting.section.vars.value }} {{ setting.name.vars.value }} {% endfor %}
after:
{% for setting in form.settings %} {{ setting.vars.value.section }} {{ setting.vars.value.name }} {% endfor %}
- If you've used the DI parameter
effiana_config.configTemplate.class
, you now need to override the Twig extension with service idtwig.extension.effiana_config_template
instead. - If you've used the DI parameter
effiana_config.config.class
, you now need to override the service with ideffiana_config
instead.