Closed
Description
Version
4.13.0
Describe the bug
Within a child dialog we should be able to cancel_all_dialogs
by setting the first parameter (cancel_parents
) to True
and that propagates up through the parents thus cancelling the conversation.
However due to the following statement in dialog_context.py#L224 this does not happen and instead the parent dialog's next step is run.
if cancel_parents is None:
To Reproduce
Steps to reproduce the behavior:
- In parent dialog MainDialog call
begin_dialog('ChildDialog')
- In ChildDialog waterfall step call
step.cancel_all_dialogs(True)
Expected behavior
All dialogs/conversation are ended
Additional Notes
Metadata
Metadata
Assignees
Labels
General SDK issues that don't clearly map to other areas (e.g.: helper methods)Required for internal Azure reporting. Do not delete. Do not change color.Use this label to exclude the issue from the DRI report.Must Fix. Release-blockerIndicates an unexpected problem or an unintended behavior.Indicates that the team has replied to the issue reported by the customer. Do not delete.Issue is created by anyone that is not a collaborator in the repository.