Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
We are also currently upgrading to this version and have noticed this in our logs.
Thank you for your feedback on this error, I have been able to reproduce it on 12.20.3 and have asked that the devs take a look at it. Currently the reported bug is not published, but once they have had a look at it you should find it at https://world.optimizely.com/support/bug-list/bug/CMS-32816.
That bug is now closed as duplicate but what is the duplicate bug-ticket number?
Hi,
We just upgraded our project to the latest CMS packages and we keep getting the error below each time we publish content (CMS or Catalog) via a scheduled job. Publishing seems to be working fine even with the error being thrown, but it seems to take more time now. It happens both locally and in DXP.
fail: EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier[0] 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 Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) at EPiServer.Notification.Internal.DefaultSubscriptionRepository.ClearSubscriptionAsync(Uri subscriptionKey) at EPiServer.Notification.Internal.DefaultSubscriptionService.ClearSubscriptionAsync(Uri subscriptionKey) at EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier.UnsubscribeFromAllActivitiesFromPublishedVersion(ContentReference contentLink) at EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier.ActivityCreated(Object sender, ActivityCreatedEventArgs e)
Packages used:
<PackageReference Include="EPiServer.CMS" Version="12.27.0" />
<PackageReference Include="EPiServer.CMS.Core" Version="12.20.3" />
<PackageReference Include="EPiServer.CMS.UI" Version="12.27.0" />
<PackageReference Include="EPiServer.CMS.UI.Core" Version="12.27.0" />