8.2.3 - Startup Content issues fix - context is king
This release fixes issues people have been having importing content during Umbraco startup.
With ImportAtStartup
set to true, uSync will attempt an import as it starts as part of the Umbraco startup process, issues with how content saves and publishes are handled when there is no UmbracoContext cause issues with this process. this release has some fixes and workarounds to fix these issues.
PR #56 - Addresses this by :
- Adding an EnsureContext wrapper around the uSync startup processes (0352af0)
- Putting in some checks so we don't completely fail if the notification service throws an exception
The second of these issues has a corresponding issue in the UmbracoCms project. (umbraco/Umbraco-CMS#6464) - after content is saved a notification process hooks into the events in an attempt to send notifications, this, however, throws an exception because Umbraco does not yet know the URL of the application. Ideally, this error shouldn't stop the save process but it does at the moment, so uSync ignores that specific exception - we have tested this and don't think it has any side effects.