Clear cached PublishedDataTypes when content types are updated (#15253)
* Clear cached PublishedDataTypes when content types are updated * Optimize published data type cache initialization
This commit is contained in:
@@ -189,6 +189,9 @@ internal class PublishedSnapshotService : IPublishedSnapshotService
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure all published data types are updated
|
||||
_publishedContentTypeFactory.NotifyDataTypeChanges();
|
||||
|
||||
Notify<IContentType>(_contentStore, payloads, RefreshContentTypesLocked);
|
||||
Notify<IMediaType>(_mediaStore, payloads, RefreshMediaTypesLocked);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user