Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
First, thank you for uSync. It has been very helpful integrating Umbraco with version control.
One question and/or problem I am having is when I remove a doctype from a composition I can see that uSync properly updates the def.config. The removed doctype is removed from the composed doctype in the xml. The issue is when I run a uSync import on a different Umbraco instance, the composition is not updated and therefore not reflecting what is in the xml.
I have searched Github and Google attempting to verify this as expected behavior or not but have not been successful. I would love to contribute to uSync if this is not yet a feature. I just need to understand the expected functionality better.
Thanks in advance for any guidance.
I have repeated the removal of a doctype from a composition several times and have not seen it removed in backoffice when syncing on other machines. Without digging in the code yet, it appears this is functionality that would need to be added.
yes, well spotted :) looks like the composition code is only additive at the moment.
however it looks like its a reasonably easy fix. https://github.com/KevinJump/uSync/commit/0b288350a3d4a0bf91cc5ee2f0fcf5af1d14288d
i'll do some testing to check i haven't broken anything else and put this in the next patch release of uSync.
Thank you Kevin.
just for info there is a beta of the next release on nuget that contains the fix to this issue. v188.8.131.520
Install-Package uSync.Core -Pre
the full patch release of umbraco will probably be released end of the month, but if you need this fix you can just update uSync.Core as above.
The latest release of uSync has gone out today (v3.3.1) and it contains the fixes for this.
PM> update-package uSync
or download the package from our
should apply the changes and the dashboard should report v3.3.1 and (5.6.1 for core)
this fixes the isue for both Content Type and Media Type Compositions
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted