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.

bf luis:convert: Error of "Roles must be unique across entity types." triggers by having multiple enabledForAllModels  #789

@dawwa

Description

@dawwa

Versions

@microsoft/botframework-cli/4.8.0 win32-x64 node-v12.16.3
Windows 10

Describe the bug

Having more than 1 phrase list declaration with enabledForAllModels annotation will cause the CLI errors out.

[ERROR] line 7:0 - line 7:60: Roles must be unique across entity types. Invalid role definition found "my_gpl(interchangeable)". Prior definition - '@ phraselist Iam_gpl(interchangeable) hasRoles enabledForAllModels'

To Reproduce

@ phraselist Iam_gpl(interchangeable) enabledForAllModels =
	- I
	- I'm
	- I am
	- I be

@ phraselist my_gpl(interchangeable) enabledForAllModels =
	- my
	- mine
	- me

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.lunon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions