Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

uSync.Complete 9.2 will not startup when site is in 'install' mode #171

Closed KevinJump closed 2 years ago

KevinJump commented 2 years ago

To reproduce:

  1. Create a new Umbraco 9 website: dotnet new umbraco --name MyProject
  2. Start the project (you will see it will prompt the installation screen)
  3. Stop the project
  4. Install the NuGet package uSync.Complete 9.2.0
  5. Start the project, it will error: System.InvalidOperationException: 'The factory has not been configured with a proper connection string.'

unnamed

KevinJump commented 2 years ago

This is because we added a custom UmbracoPipeline Filter in 9.2 that controls buffering sizes on requests

This middleware has a requirement on the usync publisher config service , which has Database elements.

UmbracoPipeline filters are added during composition and are not checked for runtime state, so we can't depend on the config service directly here.

however we only actually need the options object in the service so we can access that directly.

Fixed in 9.3