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
I have deleted a template on my dev environment, I see it in uSyncActions.config file, but when I import my data folder on my stage environment the template is not deleted.
In my data folder I haven't got the file of deleted template. However, I found something strange, here what I have in my uSyncActions.config file :
Is the 0000... key normal ?
Thanks for your help ?
is normal for templates, because they don't get a key (yet) in umbraco.
because of this template deletes are attempted based on the name:
If you look at the umbraco log you should see a
Processing Delete: Umbraco.Core.Models.ITemplate
this means uSync has picked up the delete, it then passes it on to the handler if it finds the template by name it should then log:
This is written directly before uSync attempted the delete.
If the delete fails or the handler cannot find the template then a Action should be logged as a fail, so you will either see that in the dashboard, or at the end when uSync prints its actions out to the log.
I've got this line :
But not :
The real name of my template is not "Template1" but "Template 1", perhaps it's the problem ?
In uSync log (in App_Data\temp directory) I have this line :
<Action Change="Delete" Success="false" Message="Not found" Name="test" Type="ITemplate" />
It's concerning "test" template wich is certainly a previous test, but I've nothing about "Template 1" file, strange isn't it ? Is it possible that when there's an error during template delete process uSync stop this process (it wouldn't processed next template) ?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted