Hi, I just installed Newsletter Studio on v9 to test it out and I got this error in the command line. Thought I would share it with you.
[22:47:58 ERR] Exception thrown by ScheduledTransactionalCleanupRecurringTask
System.InvalidOperationException: Cannot resolve 'NewsletterStudio.Core.Editor.Json.EmailControlConverterHelper' from root provider because it requires scoped service 'NewsletterStudio.Web.Composing.Collections.EmailControlTypeConfigurationCollection'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(Type serviceType, IServiceScope scope, IServiceScope rootScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
at NewsletterStudio.Web.UmbracoDependencyResolver.GetService[T]()
at NewsletterStudio.Core.JsonHelper.GetSettings()
at NewsletterStudio.Core.JsonHelper.DeserializeObject[T](String json)
at NewsletterStudio.Core.Persistence.Dtos.Mappers.DtoTransactionalEmailMapper.ToDomainModel(ITransactionalEmailDto dto)
at NewsletterStudio.Core.Persistence.Repositories.Implement.TransactionalEmailRepository.<GetAll>b__12_0(TransactionalEmailDto x)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at NewsletterStudio.Core.Persistence.Repositories.Implement.TransactionalEmailRepository.GetAll()
at NewsletterStudio.Core.Services.TransactionalEmailService.CleanLogBasedOnSettings(DateTime now)
at NewsletterStudio.Web.Scheduling.ScheduledTransactionalCleanupRecurringTask.DoPerformExecuteAsync(Object state)
Ahh, great find! It seems like I might need to wrap some of the background-services in a scope. Did you see this error in the UI or "just" in the logs?
Getting this error in the log on v9
Hi, I just installed Newsletter Studio on v9 to test it out and I got this error in the command line. Thought I would share it with you.
I hope it helps to identify bugs
Paul
Hi!
Ahh, great find! It seems like I might need to wrap some of the background-services in a scope. Did you see this error in the UI or "just" in the logs?
Thanks again for trying it out!
Hi Markus
I didn't see it in the UI, just the command line logs.
Paul
Hi Paul!
Thanks for reporting this!
Just wanted to let you know that this issue should be solved in the rc2-release.
More details:
https://www.newsletterstudio.org/newsletter-studio-4-for-umbraco-9/
All the best!
is working on a reply...