Skip to content

WaterfallStepContext parent R9/R10 Regression: Replace ComponentDialog containing WaterfallDialog while in a step in the WaterfallDialog. #2714

@scheyal

Description

@scheyal

Filed on behalf of 1P HealthBot.

Use Case / bug

We’re using a ComponentDialog that contains a WaterfallDialog, sometimes, while we’re in a step in the WaterfallDialog we would want to replace the ComponentDialog and not the WaterfallDialog to remove the ComponentDialog from the stack and keep only the dialog we want to begin, to do that we’re using step.parent.replaceDialog.

Before R10 was released, the parent of the WaterfallStepContext was the DialogContext represented by the ComponentDialog, in the new version, the parent is the DialogContext represented by the WaterfallDialog.
Attached screenshots of the step.parent value of the different versions.

Versions

What package version of the SDK are you using: R11 signoff. Comparing to R10.

To Reproduce

Steps to reproduce the behavior:
See use case above

Expected behavior

Behavior is similar to R10.

Additional context

See mailthread for additional discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions