microsoft / botframework-cli

CLI Tools for the Microsoft Bot Framework
Other
179 stars 128 forks source link

bf luis:test command fails for some files #1121

Closed scheyal closed 3 years ago

scheyal commented 3 years ago

The following line works for some data, and fails for other:

Error is possibly coming from:

ParseEntityResult() method defined in $botframework-cli\packages\lu\src\parser\test\testhelper.ts.

...
    } else {
      for (const subEntity of entities[name]) {
        if (typeof subEntity === 'object') {
          ParseEntitiyResult(subEntity, result)
        }
...
munozemilio commented 3 years ago

Hi @feich-ms, is this something you are familiar with?

feich-ms commented 3 years ago

@munozemilio this is work of Huanran Xu, but he will leave Microsoft at the end of this week. I can be backup and take a look. Could you or anyone else provide the pieces of schoolnavigatorbot.test.lu that raised this exception?

feich-ms commented 3 years ago

@scheyal could you provide the failure lu case of schoolnavigatorbot.test.lu so that I can debug and verify? Thanks.