Commit 23f4cb1
committed
Explicitly refresh content type cache on
Despite multiple adustments to how `Move()` handles `ResetAttributeDescriptors()`, this functionality still isn't working in live site integration testing, even though it seems to work in both unit tests and local integration tests. That likely suggests a discrepency in the lifestyle configuration of dependencies, which could be introducing a version conflict.
This _should_ be mitigated by other measures I've put in place which help ensure that any caching layer (e.g., `CachedTopicRepository`) is using the same object references as the `TopicRepositoryBase.GetContentTypes()`.
Since that's not working, I'm going to try _explicitly_ updating the content type cache via `Move()`, just to be safe. This should not be necessary—though it won't really hurt anything, either. (There's a small amount of overhead, but `Move()` operations are rare, and the database cost will far outweigh this extra validation.)Move()
1 parent 9a7ef01 commit 23f4cb1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
449 | 450 | | |
450 | 451 | | |
451 | 452 | | |
| |||
0 commit comments