-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML character encoding issue for “ when upgrading #324
Comments
Sounds like this'll be encoding changes. Just to be clear, re-saving the entry doesn't change anything, but re-typing the encoded values (swapping I might have to provide a manual console command to run on field content to take care of this. In addition, there's actually an internal helper function to help with updating content, which handles global, Matrix and Super Table content. We use this in Hyper migrations. |
Sounds like this'll be encoding changes. Just to be clear, re-saving the entry doesn't change anything, but re-typing the encoded values (swapping & for & for example) works correctly? Yes that is correct. That command could be helpful, the other issue we had was where we have the structure - But the last one |
This is the change that surfaced the issue: 819a013 In 2.1.22 the characters showed up correctly in the editor and if you modified the field and saved it the database values would no longer have the escaped characters and that field would show up correctly in 2.1.23 in the editor. But because it only gets fixed by code in the editor resaving all entries using the cli doesn't fix the issue. |
Thanks for pointing that out @Kethatril that's a good start. |
Describe the bug
Similar issue : #115
When upgrading from Vizy 1.0.23 and Craft CMS 3.9.10, to Vizy 2.1.23 and Craft CMS 4.13.1.1
Character were previously stored in the database as
“
any newly created content saves in the database as“
though on an upgrade none of these characters have been migrated. When inspecting the code in the editors html view they appear as“
- though in the database they are still stored as“
. A manual update fixes these.Are there any recommended steps to migrate these?
Steps to reproduce
“
in a Vizy Field.Craft CMS version
3.9.10 -> 4.13.1.1
Plugin version
1.0.23 -> 2.1.23
Multi-site?
No
Additional context
We have written a migration to update each entry in the database, though we've come across an issue where SuperTable content inside Vizy field, is difficult to access/update. (I'll mention that in another ticket and attach).
The text was updated successfully, but these errors were encountered: