Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: defense the usage of 'match()' method in skillsUtils #4110

Merged
merged 4 commits into from
Sep 15, 2020
Merged

Conversation

yeze322
Copy link
Contributor

@yeze322 yeze322 commented Sep 14, 2020

Description

Fix the problem that given an undefined skill url, whole App will be crashed.
NOTE: This issue had been there for a while. Recently, some changes on skill made ErrorBoundary can't capture errors anymore and exposed this issue.

Task Item

closes #4109

Screenshots

image

@coveralls
Copy link

coveralls commented Sep 14, 2020

Coverage Status

Coverage decreased (-0.009%) to 55.491% when pulling 5186de2 on fix/4109 into 834f8df on main.

@boydc2014
Copy link
Contributor

@tonyanziano @srinaath can you help take a look at this one?

@boydc2014 boydc2014 added the Approved to merge approved, waiting to be merged label Sep 15, 2020
@a-b-r-o-w-n a-b-r-o-w-n merged commit 6eb447b into main Sep 15, 2020
@a-b-r-o-w-n a-b-r-o-w-n deleted the fix/4109 branch September 15, 2020 16:46
alanlong9278 added a commit to alanlong9278/BotFramework-Composer that referenced this pull request Sep 16, 2020
* main:
  fix: add more missing formatMessage calls (microsoft#4144)
  feat: electron splash screen (microsoft#4119)
  feat: Add QnA files to dispatch model in skill manifest (microsoft#3985)
  fix: check whether operation is under current project folder (microsoft#4078)
  update localization and add missing "example" string (microsoft#4138)
  fix: defense invocation of `value.match()` (microsoft#4110)
  fix: checkReturnType in ExpressionValidation throws unexpected error (microsoft#4112)
  chore(deps): Bump tree-kill from 1.2.1 to 1.2.2 in /Composer (microsoft#4035)
  build: fix docker builds in ACR (microsoft#3986)
  fix: security: downgrade node-forge to 0.9.0 (microsoft#4133)
  chore: update archiver to fix security warning (microsoft#4116)
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved to merge approved, waiting to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening an existing bot with 'BeginSkill' raises an error
4 participants