So I'm manually adding content files to uSync folder which get generated from another system.
Everything is working fine, the new content gets imported however I'm having issues with the Content Schedule not being added. When I add the following to the usync file
you don't need to update Umbraco (if you don't want to) - v8.6.4 of uSync is backwards compatible with all Umbraco 8.x . (we are stuck a bit in version hell!)
Do I need to update through visual studio? I did install originally through nuget, would I have to pull everything back to Dev run the update then push back to staging?
Usync + Content Schedule
Hi,
So I'm manually adding content files to uSync folder which get generated from another system.
Everything is working fine, the new content gets imported however I'm having issues with the Content Schedule not being added. When I add the following to the usync file
It seems to just be ignored?
Thanks
Hi Matt,
There are fixes/updates in uSync v8.6.4 (newest release) for scheduled stuff - so its probably worth updating to that to confirm.
I think we now ignore the key value (its never consistent, and doesn't actually matter for this when we have dates) but the above should work.
For Info :
There is some code we use at publish time to work out state : https://github.com/KevinJump/uSync8/blob/v8/dev/uSync8.ContentEdition/Extensions/ContentScheduleExtensions.cs
If the action is in the past, then it isn't added, but rather the last valid action is performed.
We calculate what that is, based on all the schedules on a job.
So for example if there is a release and an expire, and the release is in the past we publish - if they are both in the past - we unpublish.
Hello Kevin,
Ah thats good to hear, hopefully it is that. I'm running v8.5.0.0
I'll look at updating Umbraco + Usync and seeing if that resolves it.
Thanks
Hi,
you don't need to update Umbraco (if you don't want to) - v8.6.4 of uSync is backwards compatible with all Umbraco 8.x . (we are stuck a bit in version hell!)
Hi Kevin,
Do I need to update through visual studio? I did install originally through nuget, would I have to pull everything back to Dev run the update then push back to staging?
Thanks
Hi Matt,
yes best way is to install via Nuget.
You shouldn't have to move the content back to dev though just updating the package should be enough
(although you can of course test it works by pushing back to stage once you've upgraded)
is working on a reply...