Botframework-solutions: Skill Manifest Validation issue

Created on 13 Mar 2020  路  3Comments  路  Source: microsoft/botframework-solutions

What project is affected?

Botskills tool

What language is this in?

Javascript/Typescript

What happens?

The regex on this line is case sensitive, allowing uppercase characters in the URL only if they are between A-F (inclusive). Anything G-Z in uppercase will cause the command to fail.

What are the steps to reproduce this issue?

https://test-dev.azurewebsites.net/....manifest path... will work fine
https://Test-dev.azurewebsites.net/...manifest path.... will fail
https://test-Stage.azurewebsites.net/...manifest path... will fail

etc

What were you expecting to happen?

Should allow any valid app service name to be part of a manifest url ( so, case invariant ?)

Can you share any logs, error output, etc.?

N/A

Any screenshots or additional context?

N/A

Bot Services Bug customer-replied-to customer-reported

Most helpful comment

Hey @DiegoCardozo94, @Batta32
I just had a look at the PR now and it seems like it will solve the issue I was encountering. Thanks guys

All 3 comments

Thanks @VladPapacostea-SM for reporting this issue! We will be checking it and we will back to you later 馃槉.

@VladPapacostea-SM, we created the following PR #3209 which fixes the validation.

Follow these steps to validate these changes and using this branch:

  1. Open a terminal and go to the Botskills folder
  2. Install the dependencies executing npm install
  3. Build the solution executing npm run build
  4. If you have already installed Botskills, you should uninstall it executing npm uninstall -g botskills
  5. Link the local Botskills executing npm link
  6. Go to your Virtual Assistant Sample folder
  7. Execute Botskills connect command
  8. Check that the connect command finished correctly

If you have any feedback, don't hesitate to comment it in the PR 馃槉.

Hey @DiegoCardozo94, @Batta32
I just had a look at the PR now and it seems like it will solve the issue I was encountering. Thanks guys

Was this page helpful?
0 / 5 - 0 ratings