BeginDialog failed with dialog id not found #3913
Labels
bug
Indicates an unexpected problem or an unintended behavior.
investigate
Needs more information in order to proceed
P1
Painful if we don't fix, won't block releasing
R9
Release 9 - May 15th, 2020
Milestone
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
What package version of the SDK are you using.
4.9.0-rc4
Describe the bug
BeginDialog failed with dialog id not found for special flow structure (call one dialog multi time). This issue is very easy to repro when build big project like calendar/todo/who skills.
When loading dialog set, after key value pair (A2, A2) has been added, a new pair (A22, A22) is processed. But A22 and A2 are somehow pointed to the same ref so the dialog id will update from A2 to A22. So the key value pair(A2, A2) turned out to be (A2, A22) for this special parent dialog. It is not valid anymore. When begin A22, the error A22 not found will show because the dialog set only have value for A2.
After investigation, this bug is caused by this commit (Adaptive: Detect and load graph cycles during type loading (#3857) )9dd230f. Things work well after revert this change.
To Reproduce
Steps to reproduce the behavior:
Bug.zip
Expected behavior
Dialog should be invoke successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]
The text was updated successfully, but these errors were encountered: