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

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

@feich-ms

Description

@feich-ms

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]

Metadata

Metadata

Assignees

Labels

lunon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions