botframework-solutions icon indicating copy to clipboard operation
botframework-solutions copied to clipboard

Skill Manifest Validation issue

Open VladPapacostea-SM opened this issue 6 years ago • 3 comments

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

VladPapacostea-SM avatar Mar 13 '20 12:03 VladPapacostea-SM

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

Batta32 avatar Mar 13 '20 12:03 Batta32

@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 😊.

DiegoCardozo94 avatar Mar 17 '20 19:03 DiegoCardozo94

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

VladPapacostea-SM avatar Mar 19 '20 10:03 VladPapacostea-SM