-
Notifications
You must be signed in to change notification settings - Fork 773
Closed
Labels
BacklogAn approved issue or bug added into the work queue for evaluation into a future iterationAn approved issue or bug added into the work queue for evaluation into a future iterationBugYour classic code defectYour classic code defect
Description
Version
Bot Framework Emulator (V4 PREVIEW) version: 4.0.0-preview.40025
Describe the bug
If you have the same id for multiple endpoints in the bot file the emulator simply uses the last one in the array in the JSON when it makes calls however it displays the distinct endpoint uri and name.
Of course there is a user bug is in the bot file, however, the behavior of the tool makes this very cryptic.
To Reproduce
- Create a bot file with multiple endpoints, for example 3, but give each the same id.
- Use the first or second from the displayed list.
- Firstly you see multiple displayed in the left hand panel and secondly you see the endpoint uri corresponding to the name you picked, however, under the covers the emulator appears to use the last one added.
Expected behavior
Either detected the error and done display the duplicates. Or detect the error in the file when you open it. Or change the data model such that the user provided id is not critical here.
Metadata
Metadata
Assignees
Labels
BacklogAn approved issue or bug added into the work queue for evaluation into a future iterationAn approved issue or bug added into the work queue for evaluation into a future iterationBugYour classic code defectYour classic code defect