Cycle detection failed when resourceExplorer LoadType function use AdaptiveDialog as the type #5021
Labels
Area: Adaptive
The issue is related to Adaptive dialogs
bug
Indicates an unexpected problem or an unintended behavior.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.11.1
Describe the bug
When use resourceExplorer.LoadType function to load the adaptive dialogs that has dialog call loop in it, the cycle detection function will not detect the cycle correctly and new DIalogManager will three exception.
To Reproduce
Steps to reproduce the behavior:
Object reference not set to an instance of an object
exception thrown from EnsureDependenciesInstalled() functionExpected behavior
No exception should be thrown
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
LoadType<AdaptiveDialog>
andLoadType<Dialog>
has different dialog stack for the same adaptive dialog. For bot that has loop in it, the different dialog call stack will cause the CycleDetectionObserver fail on cycle detection.The text was updated successfully, but these errors were encountered: