-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V9 Error when trying to add extra languages in the back office #11365
Comments
Just tested this on an environment that we have on the latest Umbraco version (9.0.1), but I can't reproduce it. Maybe it's an Umbraco cloud issue? |
This issue originates from when I was trying out Umbraco Cloud (9.0.1) on trial, so yeah this might be a Cloud thingy. |
I downloaded the source from https://umbraco.com/products/umbraco-cms/how-to-download-umbraco/ and running on Visual Studio 2019 today. This happened while I was following the tutorial here https://our.umbraco.com/documentation/Tutorials/Creating-Basic-Site/Adding-Language-Variants/. When I was trying [step 3 Click Add Language], errors occurred: Received an error from the server Exception Details |
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
This is on Umbraco 9.0.1
Bug summary
When you wnt to add more than the default language in the backoffice you get an error and no dropdown list to choose from
Specifics
So the issue is when you are in settings -- > Languages -- > Add Language
I have tried in both Safri and Chrome on a Macbook Pro - the project was created on Umbraco Cloud
Steps to reproduce
Then you will see the error at the bottom of the page and the dropdown with all languages are also gone
In the log, we get the following error
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IServiceProvider'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Umbraco.Cms.Core.Events.ServiceFactoryExtensions.GetInstances[T](ServiceFactory factory)
at Umbraco.Cms.Core.Events.NotificationHandlerWrapperImpl
1.Handle(INotification notification, ServiceFactory serviceFactory, Action
2 publish)at Umbraco.Cms.Core.Events.EventAggregator.PublishNotification(INotification notification)
at Umbraco.Cms.Core.Events.EventAggregator.PublishAsync[TNotification](TNotification notification, CancellationToken cancellationToken)
at Umbraco.Cms.Web.Common.Middleware.UmbracoRequestMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Umbraco.Cms.Web.Common.Middleware.PreviewAuthenticationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Umbraco.Cms.Web.Common.Middleware.UmbracoRequestLoggingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
Expected result / actual result
I would expect that I could add more languages so you can work with the variants as we introduced in Umbraco 8
https://our.umbraco.com/Documentation/Fundamentals/Backoffice/Variants/
So you don´t need to create a root node for each language you have
The text was updated successfully, but these errors were encountered: