Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Luis:build should compare luis application name case insensitively #1044

Closed
feich-ms opened this issue Oct 30, 2020 · 0 comments · Fixed by #1045
Closed

Luis:build should compare luis application name case insensitively #1044

feich-ms opened this issue Oct 30, 2020 · 0 comments · Fixed by #1045
Assignees
Labels
lu non luis api commands

Comments

@feich-ms
Copy link
Contributor

Versions

4.11

Describe the bug

Luis build chooses to create or update an application based on comparing current app name with all the existing app names. Currently the comparison is case sensitve, so when an app name is only case different with the one of exising app names, the luis build will try to create a new app with that name. However, app name is case insensitive in luis service, so luis service will reject the creation of same app name that only case different and throw an error. This is not expected.

To Reproduce

Steps to reproduce the behavior:

  1. Use bf luis:build command to publish a lu file with botName set to xxx
  2. Use same command to update the luis model but with botName set to XXX
  3. You will see exception thrown

Expected behavior

No errors are thrown out

Screenshots

image

Additional context

Add any other context about the problem here.

[bug]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lu non luis api commands
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant