Global HTML Saving a new version each time, rather than overwriting
Description
When attempting to save Global HTML items, new entries are being added for the site each time on save, rather than overwriting the existing setting. This results in the appearance of the item not being saved, as the next query to pull the value pull the first value in sequence.
We will need to release a patch to address this.
To replicate: - Save Global HTML change ( use cb_html_beforeHeadEnd as an example ) - Not that the value in the admin after save does not change - Query the database:
Note that the duplicate entry for the same site.
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
When attempting to save Global HTML items, new entries are being added for the site each time on save, rather than overwriting the existing setting. This results in the appearance of the item not being saved, as the next query to pull the value pull the first value in sequence.
We will need to release a patch to address this.
To replicate:
- Save Global HTML change ( use
cb_html_beforeHeadEnd
as an example )- Not that the value in the admin after save does not change
- Query the database:
Note that the duplicate entry for the same site.