-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptive ForEachElement does not exit when child action CancelAllDialogs is called #6430
Comments
Related to #6428 |
Adding the sample bot again, since on a different bug it was mentioned, the sample could not be run / reproduced because of an out dated dependenc |
@Rich-biomni - I was able to repro the issue using your sample. Unfortunately, I was unable to find a simple solution / workaround to help mitigate this for you. Escalating to @ceciliaavila for continued support on this. |
Is this repeatable in 4.17.1? |
Issue exists in 4.17.1 as well |
…lAllDialogs is called (#6452) * Consider canceled status to end the dialog * Add unit test
* README version to 4.18 (#6425) Co-authored-by: Tracy Boehrer <trboehre@microsoft.com> * [#6434] Priority broken for RegexRecognizer (#6435) * Consider priority in OnRecognizeAsync method * Add unit test * Update Bool function to use Convert.ToBoolean (#6431) * Update IsMatch empty string values (#6426) * [#6428] Adaptive ForEachElement loop's incorrectly when changes cause ContinueDialogAsync to be recalled (#6448) * Reacquire childDialogState after ContinueDialogAsync * Add unit test * Support passing sas token url's for token service (#6449) Co-authored-by: Swagat Mishra <swagatm@microsoft.com> * Bump @actions/core from 1.6.0 to 1.9.1 in /actions/verify-pr-labels (#6445) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.6.0 to 1.9.1. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Support passing sas token url's for token service (#6449) Co-authored-by: Swagat Mishra <swagatm@microsoft.com> * [#6428] Adaptive ForEachElement loop's incorrectly when changes cause ContinueDialogAsync to be recalled (#6448) * Reacquire childDialogState after ContinueDialogAsync * Add unit test * Delete vnext code which is dead (#6440) * Fix PublishToCoveralls.ps1 (#6439) * Remove failing Powershell patch download * Upgrade coveralls.net to 4.0.1 * [#6430] Adaptive ForEachElement does not exit when child action CancelAllDialogs is called (#6452) * Consider canceled status to end the dialog * Add unit test * [#6432] TeamsInfo.GetMemberAsync(...) doesn't work properly in Skill Bot scenario, it returns http 405 error (#6443) * Implement GetMemberAsync for skills * Add unit test * [#6433] Error in AdaptiveDialog.ContinueActionAsync with native dialog SDK (#6444) * Add condition before loading the resource * Add unit tests * Load AdaptiveDialogs dynamically on DialogContext Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Tracy Boehrer <trboehre@microsoft.com> Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com> Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com> Co-authored-by: swagat mishra <swagatmishra2007@gmail.com> Co-authored-by: Swagat Mishra <swagatm@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: BruceHaley <v-brucehaley@microsoft.com>
* Revert "[#6430] Adaptive ForEachElement does not exit when child action CancelAllDialogs is called (#6452)" (#6466) This reverts commit c572be3. Co-authored-by: Tracy Boehrer <trboehre@microsoft.com> * Add cancellation token to TeamsOperation class (#6458) * Fix typing indicator shown after bot has replied (#6460) Co-authored-by: Tracy Boehrer <trboehre@microsoft.com> Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
This PR for this was reverted due to a breaking change. We will need to revisit. Notes for SDK: This breaks Bot Designers (PVA) "SlotFillingTest" and some "IntentSwitchingTests". We will need to extract the tests to reproduce outside PVA. |
We need information on the broken PVA tests to reproduce on the SDK side. |
we have a PR so marking this as exempt from the daily DRI report |
Actually... this is still outstanding. See the note above about the PR being reverted until we can duplicate outside of PVA scenario tests in SDK. Still fine to exempt for now though. |
Version 4.16.1
Describe the bug
When a ForEachElement Child Action is CancelAllDialogs the ForEachElement Loops again rather than cancelling
This is also the case when there are nested ForEachElement actions aand at the lowest point a CancelAllDialogs is ran
To Reproduce
Create and adaptive dalog
Create a ForEachElement
In the action add a message, question, CancelAllDialogs, message
Run the dialog
--
Create and adaptive dalog
Create a ForEachElement with a sub foreachElement
In the action add a message, question, CancelAllDialogs, message
Run the dialog
Expected behavior
All foreachElement should cancel but instead it loops
Additional context
Add Zip with repoduction
SimpleBot.zip
The text was updated successfully, but these errors were encountered: