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

Description
Versions
4.12.0-rc0
Describe the bug
Reported by composer here microsoft/BotFramework-Composer#5756 (comment). Intent import in lu will pull unrelated contents. Consider below scenarios:
common.en-us.lu:
root.en-us.lu:
[Common](common.en-us.lu)
# MyIntent
- test 1
- test 2
test.en-us.lu
# Test
- [MyIntent](root.en-us.lu#MyIntent)
The generated luis file for test.en-us.lu with luis:convert command will pull everything from common.en-us.lu, which is not expected.
To Reproduce
Steps to reproduce the behavior:
- Create above lu files
- Use
bf luis:convert -i test.en-us.lu to convert lu to luis
- You will see intent and utterances in common.en-us.lu are added into the generated luis json file
Expected behavior
Only MyIntent is pulled
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]