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 crosstrain, if qna file is empty, we should not crosstrained for qna and generated an non-empty qna file #878

@luhan2017

Description

@luhan2017

Versions

What CLI version are you using.
What Nodejs version are you using
What command-line interpreters are you using
What OS are you using

Describe the bug

@vishwacsena , in composer, the expected behavior is if qna file is empty, user don't need to input a qna authoring key, and the qnabuild should not be called. but we found that the crosstrain did generate a non-empty qna file.

The expected logic should be:
only of lu and qna file both exist, it trains cross the qna and lu.
if lu is empty, just keep qna, and don't do the crosstrain.
if qna is empty, just crosstrain luis, don't write anything into qna file.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[bug]

Metadata

Metadata

Assignees

Labels

P0Must Fix. Release-blockerR10Release 10 - August 17th, 2020lunon luis api commandstriagedReviewed by the Triage Team, not approved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions