Affects Version/s: Master
When saving Publish Template (or maybe export template, I have not checked) and re-open the saved configuration, the checkboxes in the content section's does not show the saved settings.
- switch on local staging
- go to staged site
- click on Menu, Publishing, Staging
- Click on the kebab menu on the top-right
- Choose publish templates
- Click on add
- set the content checkboxes and remember the settings
- open the saved template
The checkboxes should be pre-seted faccording to the saved configuration
The checkboxes are not in match with the saved configuration
ExportImportConfigurationParameterMapFactoryImpl._replaceParameterMap method replaces the request's parameter names of the checkboxes and nobody restores it, so the UI does not see that the checkboxes were set/unset.
The replacing is necessary for the changeset, however it is questionable, when we should replace the parameter names. Probably it would be better immediately before publishing and not necessarily before saving.
Whit this, the UI should not be changed and will work again.