First of all thanks a lot for a great package that brings a lot of value to the community.
Unfortunately we have 4-5 times now experienced missing data after import. It generally doesn't happen and we don't see a certain pattern. I can't see any errors in the log and all I can see is that Umbraco after import believes the specific properties (often Nested Content) never had any data if I try to do a rollback. My best guess is that it "re-adds" the property which ends up doing a delete and an add in some way.
This is happening on Umbraco 8.6.4 and uSync 8.5.0.
Is there any way you could see this happen? Is it possible to enable a setting that makes uSync unable to delete (as a workaround)?
The thing to check is if you have any 'empty' delete files in your uSync folder, so .config files starts <empty...> then that will be a thing that 'might' delete a doctype or datatype.
this could cause a property to be removed (because the datatype is removed) but if the datatype has been recreated by something else that doesn't mean uSync will delete it. You can stop this by removing the empty files (a clean export does that, see below)
in terms of properties, uSync shouldn't delete a property from a content type unless it can't find it by key (GUID) or Alias. If something has renamed the property in-between syncs then the key match should stop a delete, but if for what ever reason the key and alias are different, then it will remove it (seems unlikely). You can't really stop this behaviour, its the sync part, If the property isn't there in key or alias, then it will be removed by the sync - if it is there in anyway the delete should not happen*
I would
1) do a clean export (this removes all the files so wipes the empty files) - so no deletes in the actions
2) turn on the debug logging, and see if you can spot something getting removed. https://docs.jumoo.co.uk/uSync/v8/debug/
In the logs a remove would be Removing: {0} where {0} is the property alias.
and it would show up in the details element of a sync
*it is obviously possible something unknown is happening and we need to fix a thing, not ruling that out.
The weird thing is that I can't see anything that would cause neither the datatype nor the contenttype to be re-created. We don't "touch" these programmatically and the editors doesn't have access to this.
Deleted content after import
Hi Kevin.
First of all thanks a lot for a great package that brings a lot of value to the community.
Unfortunately we have 4-5 times now experienced missing data after import. It generally doesn't happen and we don't see a certain pattern. I can't see any errors in the log and all I can see is that Umbraco after import believes the specific properties (often Nested Content) never had any data if I try to do a rollback. My best guess is that it "re-adds" the property which ends up doing a delete and an add in some way.
This is happening on Umbraco 8.6.4 and uSync 8.5.0.
Is there any way you could see this happen? Is it possible to enable a setting that makes uSync unable to delete (as a workaround)?
Best regards,
Rasmus
Hi Rasmus, ,
That doesn't sound good :(
The thing to check is if you have any 'empty' delete files in your uSync folder, so .config files starts
<empty...>
then that will be a thing that 'might' delete a doctype or datatype.this could cause a property to be removed (because the datatype is removed) but if the datatype has been recreated by something else that doesn't mean uSync will delete it. You can stop this by removing the empty files (a clean export does that, see below)
in terms of properties, uSync shouldn't delete a property from a content type unless it can't find it by key (GUID) or Alias. If something has renamed the property in-between syncs then the key match should stop a delete, but if for what ever reason the key and alias are different, then it will remove it (seems unlikely). You can't really stop this behaviour, its the sync part, If the property isn't there in key or alias, then it will be removed by the sync - if it is there in anyway the delete should not happen*
I would
1) do a clean export (this removes all the files so wipes the empty files) - so no deletes in the actions 2) turn on the debug logging, and see if you can spot something getting removed. https://docs.jumoo.co.uk/uSync/v8/debug/
In the logs a remove would be Removing: {0} where {0} is the property alias. and it would show up in the details element of a sync
*it is obviously possible something unknown is happening and we need to fix a thing, not ruling that out.
Hi Kevin.
Thanks for the reply!
The weird thing is that I can't see anything that would cause neither the datatype nor the contenttype to be re-created. We don't "touch" these programmatically and the editors doesn't have access to this.
Here's the ContentType:
And here's the DataType for which we have lost content:
I guess there's nothing here that can cause the behavior? I can't see any empty sync-files related to this.
I'll try and add some debugging and do the clean export. Thanks again!
is working on a reply...