botframework-sdk: [Skype Web Control] Wrong behaviour when using dialogAction button
Bot Info
- SDK Platform: Node.JS
- SDK Version: 3.14.0
- Active Channels: Skype, SWC
- Deployment Environment: Azure App Service
- App-ID: 6cd7cd5b-47ad-40a8-a319-9dd7846977b7
- SWC SDK: https://swc.cdn.skype.com/sdk/v1/sdk.min.js
Issue Description
My bot is deployed both in Skype and in Skype Web Control. When using Skype Web Control version, users get the wrong behavior when clicking in dialogAction buttons.
Code Example
exports.createWelcomeCard = function (session) {
var welcome = new builder.HeroCard(session)
.title('Olá!')
.subtitle('Pretende aceder à sua área pessoal?')
.text('Na área pessoal poderá consultar o estado das suas faturas.')
.images([
builder.CardImage.create(session, 'xxx')
])
.buttons(
[
builder.CardAction.dialogAction(session, "access_login", "", "Sim "),
builder.CardAction.dialogAction(session, "get_goodbye", "", "Não ")
]);
return welcome;
};
Reproduction Steps
- Talk to bot
- See Welcome Card
- Click “Sim”
- Expected behaviour shoud be a prompt “Por favor indique-me…” but when in SWC the welcome card shows up again
Expected Behavior
The image below shows the expected behaviour as seen on the Skype App.
Actual Results
When in Skype Web Control (SWC), the bot always shows the same welcome card after clicking “Sim” or “Não”.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (6 by maintainers)
At this time there is no new information or timeline I have for you. I do hope this gets addressed and will continue to poke around about it periodically. Unfortunately, it’s not something in our code base that we could just fix for you guys.
@brene @JasonSowers @GKulshrestha We are still waiting for a fix, can we push it somehow?
@brene @JasonSowers This is a serious bug in the functionality of SWC I really hope they will take the time to fix it soon.
@fms-santos we’re still trying to figure out what’s wrong and what’s the difference between our implementation and the native Skype client. Sorry for the inconvenience.
Just getting to this now sorry for the delay, Can you please share your code that handles the clicked responses?