-
Notifications
You must be signed in to change notification settings - Fork 65
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
Wrong serialization file when saving DocumentType #592
Comments
Hi, Thanks for this, I looks like the roots thing isn't working out that the file has been saved somewhere else 🤔 - We will take a look at get this fixed ! |
Hi, Just looking into this, and seeking a bit more info to reproduce
|
Hi there,
|
Hi, I would just add, that the same behaviour is with DataDatypes, MediaTypes, Templates and Translations. |
Hi, yeah the case where the folder the items are being saves is outside the site root was the issue :( . there is a clean up method at the end of the process that just makes sure we haven't created a duplicate, but it wasn't getting past the absolute path of the file when it's outside the site root. Fixed and Nightly avalible now : Will do some further tested and look at a patch release |
Thank you very much. |
Hi,
after saving DocumentType the serialized .config file in ContentTypes is replaced with .config file containing only
<Empty change="Rename">
, like the DocumentType was renamed, but it was not.After exporting all Settings items using Settings Export button, then the corrupted .config file is repaired.
This behaviour is only in in the version 13.1.x of uSync, the previous versions are fine.
We are using ExportOnSave and we have custom Folders set up like this:
The same behaviour is when switching to child site with custom folder like:
The RootFolder is set to the same folder as is in the Folders setting:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The saved .config file should contain the serialized DocumentType.
About your Site (please complete the following information):
The text was updated successfully, but these errors were encountered: