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
Dear Umbraco Team
Im using uSync to keep all things great, working well. Its installed and working away in the background : )
What i notice is sometimes i make a change to a dataType and uSync creates a another file for the dataType with extra characters to differentiate from the original dataType file created when the dataType was originally created.
Would like to know when this and how this happens ?
First you should check its not this issue https://github.com/KevinJump/uSync8/issues/73 which was fixed in v8.4.3 of uSync (all v8.x versions of uSync work on all v8 versions of Umbraco)
uSync creates the duplicate files if it thinks the datatype it is saving with a certain name isn't the same as the one it has one disk. (which for datatypes shouldn't really happen that often).
So when it attempts to save a file it checks for a file on disk with the same name, if it finds one it then checks.
if either of these is true then the item should save over the existing file and not create a new one.
So for datatypes (if it working correctly) - you should only ever get the duplicate files if.
In this case we would expect the duplicate file name to kick in.
If that isn't what is happening and you are on uSync 8.4.3 or above then i think we will have something to fix.
Update (sorry fix is in 8.4.3 not 8.3 as previously stated.)
Yeah it probably is the case of having a datatype and deleting it and then recreating it. I have done this to try and keep my datatype store tidy : (
Good to know
i'll will let you know if its something else causing it but i dont think so. i have since created and changed dataTypes and files like you say are overwritten.
Dibs : )
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted