EZP-26224 has a script to fix bad formed values in XML Text, namely \xc2\x92 and
When the script is executed, it duplicates the latest version to all stored versions, effectively deleting the old content.
The problem seems to come from updatenbxmlcontents.php#L7 and a possible solution could be proceeding with the following changes, but it still needs to be tested.
- Create a new article with the API and add the following lines to the XML Text (Edit the comment and copy the lines from the plain text version)
- Open the backend and create three versions. Add Edit #00x to the first line of each of the versions.
- Execute the script
- Clear the caches
- Confirm the versions were changed to the latest version