Skip to content

Conversation

luhan2017
Copy link
Contributor

@luhan2017 luhan2017 commented Nov 5, 2020

Fixes microsoft/BotFramework-Composer#4651

Description

Composer is assuming disable property to be booleanExpression across all the kinds.
But currently in sdk, in SendActivity and Ask action, the disable property is defined as a StringExpression which breaks composer's assumption and the disable feature for SendActivity and Ask action is not working now.
Disabling the two actions will get an validation error.

Specific Changes

  • Update disable property in SendActivity from StringExpression to booleanExpression.

Testing

Tested in composer UX, update the schema will fix this issue.

Copy link
Contributor

@cleemullins cleemullins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luhan2017 Can you please update the PR? IT needs an Issue, and the template needs to be filled out. We need to hold a higher bar on PR quality.

@luhan2017
Copy link
Contributor Author

@luhan2017 Can you please update the PR? IT needs an Issue, and the template needs to be filled out. We need to hold a higher bar on PR quality.

@cleemullins Thanks for the reminder, updated the contents, I refer this to a composer issue, should I create a issue in dotnet repo for this?

@cleemullins cleemullins merged commit 50b400d into main Nov 6, 2020
@cleemullins cleemullins deleted the luhan/fixCpmposer4651 branch November 6, 2020 18:46
chrimc62 pushed a commit that referenced this pull request Nov 6, 2020
@chrimc62 chrimc62 mentioned this pull request Nov 6, 2020
mrivera-ms pushed a commit that referenced this pull request Nov 6, 2020
* Fix broken help links in uischema files (#4911)

* Update Microsoft.LogAction.uischema

* fix broken links

* add OnChooseIntent uischema (#4914)

* Update Microsoft.SendActivity.schema (#4923)

* Update test schemas.

Co-authored-by: zxyanliu <[email protected]>
Co-authored-by: Andy Brown <[email protected]>
Co-authored-by: Lu Han <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabling a node causes a validation error and the bot cannot be started.
3 participants