Skill Manifest Validation issue
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
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:
- Open a terminal and go to the Botskills folder
- Install the dependencies executing
npm install - Build the solution executing
npm run build - If you have already installed Botskills, you should uninstall it executing
npm uninstall -g botskills - Link the local Botskills executing
npm link - Go to your Virtual Assistant Sample folder
- Execute Botskills connect command
- 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