Reproduce:
- Goto the branch analysis
- Select Process A
- Goto the Outlier Analysis
- Select Process A
Expected:
- The Outlier Analysis shows the complete diagram without showing anything as disabled
Observed:
- The diagram displayed has the disabled flow nodes and sequence flows from the Branch Analysis
—
Hint:
We cache viewer instances for performance reasons. We need to make sure that the disabled state is reset before committing a viewer instance to the cache.
While investigating this bug, I found another bug in the caching mechanism that I fixed with https://github.com/camunda/camunda-optimize/commit/60cc56fe8fab5bdf70aad16a3a6fd12b062f1916
Now you don't need to select another process before switching to the outlier analysis for this bug to occur. This made this bug a bit more likely to occur and easier to reproduce.