Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LocationDialog. Incorrect flow of dialog

See original GitHub issue

Hi, thanks for component, though i have an issue. All flow is working well, all asking of address, showing images, confirmation, but when i hit “Yes” in confirmation second step of waterfall doesn’t hit, when i type smth more, it hits but WaterfallStepContext.Result is null and WaterfallStepContext.Reson is “EndCalled” image

here’s the code: ` … //location AddDialog(new LocationDialog(“eSXXarWY1t6T2MQS-Ibdc2lqbZ42kWvYNADhiVpFMmk”, “Please enter a location”, _userState, useAzureMaps: true, requiredFields: LocationRequiredFields.PostalCode, options: LocationOptions.SkipFavorites ));

        AddDialog(new WaterfallDialog("LocationFullDialog", new WaterfallStep[]


    private async Task<DialogTurnResult> OnCollectLocationDialog(WaterfallStepContext dc, CancellationToken cancellationToken)
        if (dc.Result is Place returnedPlace)
            await dc.Context.SendActivityAsync($"Location found: {returnedPlace.Address.ToString()}");
            await dc.Context.SendActivityAsync($"No location found");

        return await dc.EndDialogAsync();

    private async Task<DialogTurnResult> BeginLocationCollectDialog(WaterfallStepContext dc, CancellationToken cancellationToken)
        return await dc.BeginDialogAsync(LocationDialog.DefaultLocationDialogId, cancellationToken);

    public async Task<DialogTurnResult> AskForPhone(WaterfallStepContext sc, CancellationToken cancellationToken)
        return await sc.BeginDialogAsync("LocationFullDialog", cancellationToken);


This is tjus another dialog that is also started from main dialog by BeginDialogAsync

NetCore app 2.1 AspNetCore.App 2.1.6 BotBuilder 4.1.5 Dialogs.Location 1.0.100

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

garyprettycommented, Dec 2, 2018

@Unders0n Hi. New version published to NuGet just now. 👍 Will close this, just re-open if you still have the issue.

Unders0ncommented, Dec 14, 2018

Hi, Any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Receive error before click Ok on Location Dialog Bog
Problem is right after the dialog box pop up, OnFailureListener is already called. Even before I click Ok or Cancel. The error log:...
Read more >
Copy folder to user selected location (dialog box)
Solved: Hi, I am trying to build flow: User trigger action. Flow will copy the template folder (with sub folders & files). User...
Read more >
Conditionalize Dialogs in Sequence
PS : I have tried just throwing all the dialogs in sequence and as an init telling it to close if the condition...
Read more >
Dialog Box: Problem Report
To access this Intel Inspector dialog box: In the Summary window, right-click one or more code locations, problems, or problem sets to display...
Read more >
14002 – [CVS UI] Better flow when creating invalid repo location
2) Here is the flow I was proposing (probably not clear in my original message). The new repo location dialog opens up, user...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found