Describe the bug
I noticed several errors in the console when editing a version tag. I assume they're being ignored by the browser, that the browser is not validating the input, but I'm not sure.
To Reproduce
Steps to reproduce the behavior:
Log on to Dockstore
Go to My Tools
Select a tool, then go to versions tab
For a version, click Actions | Edit
See following errors in Developer Tools console
Unable to check <input pattern='[\w-]+((/|.)[\w-]+)*'> because the pattern is not a valid regexp: character class escape cannot be used in class range in regular expression
Unable to check <input pattern='^/([^/?:*|<>]+/)*(([a-zA-Z]+[.])?Dockerfile|Dockerfile([.][a-zA-Z]+)?)$'> because the pattern is not a valid regexp: invalid character in class in regular expression
Unable to check <input pattern='^/([^/?:*|<>]+/)*[^/?:*|<>]+.(cwl|yaml|yml)'> because the pattern is not a valid regexp: invalid character in class in regular expression
Unable to check <input pattern='^/([^/?:*|<>]+/)*[^/?:*|<>]+.wdl$'> because the pattern is not a valid regexp: invalid character in class in regular expression
Expected behavior
There should be no errors in the console
Describe the bug I noticed several errors in the console when editing a version tag. I assume they're being ignored by the browser, that the browser is not validating the input, but I'm not sure.
To Reproduce Steps to reproduce the behavior:
Actions | Edit
Expected behavior There should be no errors in the console
Additional context [Domain] - https://qa.dockstore.org
Webservice - 74674f8
UI - 2.12.1-55-gb4a52e78
Deploy - 1.15.1-46-ga8934fc
cwlParsingLambdaVersion: n/a
wdlParsingLambdaVersion: n/a
nextflowParsingLambdaVersion: n/a
galaxyParsingLambdaVersion: 0.0.6
checkUrlLambdaVersion: n/a
┆Issue is synchronized with this Jira Story ┆Issue Number: DOCK-2533 ┆Sprint: Backlog ┆Issue Type: Story