This commit is contained in:
Stephan
2018-02-09 14:34:28 +01:00
parent f9a8f82434
commit fcb6dfdfdf
8 changed files with 185 additions and 143 deletions

View File

@@ -757,6 +757,12 @@ namespace Umbraco.Web.PublishedCache.NuCache
using (_contentStore.GetWriter(_scopeProvider))
using (_mediaStore.GetWriter(_scopeProvider))
{
// fixme - datatype lock
// this is triggering datatypes reload in the factory, and right after we create some
// content types by loading them ... there's a race condition here, which would require
// some locking on datatypes
_publishedContentTypeFactory.NotifyDataTypeChanges(idsA);
if (!(_serviceContext.ContentService is ContentService))
throw new Exception("oops");