There is an issue with Deploy triggering too early if there are third party add-ons that require their IComponent
implementations to run before they can safely deploy artefacts.
It appears that Umbraco.Deploy triggers a deploy from within it's IComponent.Initialize
method, however because the DeployComposer
class is registered before IUserComposer
instances I believe this means that it is composed and thus initialized before all other composers / components of third parties.
The issue is, Vendr requires it's IComponent
to be initialized before it can safely execute as there are a number of setup steps that occur within that method that it relies upon. Because these aren't triggered though before Deploy attempts a restore the attempt fails with exceptions due to a number of resources being null
.
deploy
file in the data directory and then touch the web.configIComponent
was initialized which contains essential setup steps for Vendr to runI would expect that Umbraco Deploy should wait until the application is fully initialized before it attempts a restore as it can't know what third party dependencies it has and whether those dependencies are ready yet or not.
Actual resultDeploy attempts a restore too early and so causes errors.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4