BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

[Hackathon] Opening Card Samples opens the wrong bot in Emulator

Open corinagum opened this issue 7 years ago • 4 comments

I opened the Cards_Sample bot in Composer: image

But it opens the Steps_Sample in Emulator: image

  • Hitting the Reload button in Composer has no effect
  • Restarting Conversation in Emulator reloads the same bot (Steps_Sample)
  • When I try to open Steps_Samples in Designer, it opens Cards_Samples, so Steps_Samples hasn't been intentionally loaded in Emulator

corinagum avatar Jul 11 '19 21:07 corinagum

I can repro and got following exception:

image

luhan2017 avatar Jul 12 '19 02:07 luhan2017

editor schema is broken?

boydc2014 avatar Jul 12 '19 03:07 boydc2014

@zhixzhan i fixed the schema in steps samples, but should have a logic that, if the user overrided schema is broken, we should fall back to the sever's built-in schema.

boydc2014 avatar Jul 12 '19 03:07 boydc2014

I will take this as a compatible solution. https://github.com/microsoft/BotFramework-Composer/pull/540

zhixzhan avatar Jul 12 '19 03:07 zhixzhan