-
Notifications
You must be signed in to change notification settings - Fork 20
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
Undo appears to be breaking Fred #137
Comments
For context, the "Revert all changes" seems to work fine. It is just the "undo" button that breaks things. |
Thanks @matdave. It looks like something's going awry when the array is being flattened during delta creation. The only downside I can think of off the top of my head is there might be some data in properties that is intended to be kept as json and others that isn't (when decoding). I'll investigate... |
Hi @matdave , would you be able to give this PR a try and see if it solves the issue? Note that you'll need to manually add these two columns to the VersionX/_build/schema/versionx.mysql.schema.xml Lines 100 to 105 in 8d4a850
|
It appears that VersionX is storing the Resource properties data in a strange way. When clicking the "undo" it is modifying the Fred object into a way where Fred can no longer read it.
e.g. Before undo:
After undo:
Notice how it converts the "content" to a giant string.
The text was updated successfully, but these errors were encountered: