Commit 866fb8c
committed
Updated to OnTopic 4.4.0
Of specific relevance to the OnTopic Editor, this includes improvements to Oroborus Configuration, helping ensure that updates to e.g. `ContentTypeDescriptor` and `AttributeDescriptor` topics are reflected in real-time, whereas many still required an application restart previously.
Work was committed for this in 4.3.0, as part of the support for initializing an empty database, but there were a number of issues with that implementation due to versioning conflicts between various caches—such as `TopicRepositoryBase._contentTypeDescriptors` and `CachedTopicRepository._cache`.
This update mitigates those by not just evaluating missing or updated `Topic.Key`s, but evaluating mismatches in the root `ContentTypeDescriptor` object reference. When a mismatch occurs, the version from the source graph is honored.
In addition, when `SqlTopicRepository.Load()` is called, it will attempt to update the `TopicRepositoryBase.GetContentTypeDescriptors()` cache. As the first call to `Load()` will usually be a passthrough from `CachedTopicRepository` loading all topics, this helps ensure that the two caches are using the same object references for the same topic entities.1 parent 4fee666 commit 866fb8c
3 files changed
Lines changed: 10 additions & 10 deletions
File tree
- OnTopic.Editor.AspNetCore.Host
- OnTopic.Editor.AspNetCore
- OnTopic.Editor.Models
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments