Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the luis settings sometimes are lost when publishing luis #3635

Merged
merged 3 commits into from
Jul 15, 2020

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Jul 15, 2020

Description

Steps:

  1. use todoWithLuis example to create a new bot.
  2. publish luis files
  3. sometimes the botname is missing in application name. The application name is {botname}-{enviroment}-{filename}
    image

The main cause is before publishing luis, settings need to be updated. Today the settings update is moved to persistence layer and there is no waiting for the setting update finish. So the luis publisher sometimes will get the default setting value from server.

In this PR:
1.pass the luis config from the client to the server when publishing
2.use useForm to refactor the luis publish dialog.

Task Item

#minor

Screenshots

boydc2014
boydc2014 previously approved these changes Jul 15, 2020
Copy link
Contributor

@boydc2014 boydc2014 left a comment

Choose a reason for hiding this comment

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

useForm looks good

@boydc2014 boydc2014 added the Approved to merge approved, waiting to be merged label Jul 15, 2020
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 53.233% when pulling 06a5bb8 on lei9444:fixluis into a124273 on microsoft:main.

@cwhitten cwhitten merged commit 53178da into microsoft:main Jul 15, 2020
@lei9444 lei9444 deleted the fixluis branch February 1, 2021 02:05
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…soft#3635)

* fix: the luis settings sometimes are lost when publishing luis

* fix lint

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved to merge approved, waiting to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants