Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

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

Fix the issue caused by additional semicolon at the end of some lu definitions#1093

Merged
feich-ms merged 8 commits intomainmicrosoft/botframework-cli:mainfrom
feich/OptimizeSyntaxValidationmicrosoft/botframework-cli:feich/OptimizeSyntaxValidationCopy head branch name to clipboard
Jan 27, 2021
Merged

Fix the issue caused by additional semicolon at the end of some lu definitions#1093
feich-ms merged 8 commits intomainmicrosoft/botframework-cli:mainfrom
feich/OptimizeSyntaxValidationmicrosoft/botframework-cli:feich/OptimizeSyntaxValidationCopy head branch name to clipboard

Conversation

@feich-ms
Copy link
Contributor

Fix the third issue reported in #1092.
Before the fix, semicolon at the end of List entity/Composite entity/phraseList/useFeatures of nDepth definitions will cause string splitting function to add an additional empty string into array which will cause exceptions in the following parsing. After the fix, all the empty string will be removed from the array and the following functions can work correctly.

Test cases are added to validate these fixes.

@feich-ms feich-ms requested a review from munozemilio as a code owner January 18, 2021 09:18
@feich-ms feich-ms changed the title optimize syntax validation Fix the issue caused by additional semicolon at the end of some lu definitions Jan 18, 2021
@feich-ms feich-ms requested a review from boydc2014 January 19, 2021 06:02
@feich-ms feich-ms merged commit fc25e77 into main Jan 27, 2021
@feich-ms feich-ms deleted the feich/OptimizeSyntaxValidation branch January 27, 2021 06:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.