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

SQLTools table view window crashes when typing `[` in a _Filter By ..._ field #302

Closed
lmichelin opened this issue Jul 26, 2019 · 1 comment

Comments

@lmichelin
Copy link

commented Jul 26, 2019

Describe the bug
When I type [ in a Filter By ... field, the SQLTools table view window crashes. The following error in logged in the developer console: [Embedded Page] Uncaught SyntaxError: Invalid regular expression: /[/: Unterminated character class

To Reproduce
Steps to reproduce the behavior:

  1. Go to the SQLTools panel
  2. Click on the Show Table Records button on a table
  3. Type [ in a Filter By ... field
  4. The window crashes. See the error in the developer console

Expected behavior
Show elements filtered by [ without crashing

Screenshots
Peek 2019-07-26 11-06

Desktop:

  • SQLTools Version: 0.19.7
  • VSCode Version: 1.36.1
  • Dialect Used/Version: MySQL 5.6
  • OS: Linux Ubuntu 18.04

@lmichelin lmichelin added the bug label Jul 26, 2019

@mtxr mtxr self-assigned this Aug 4, 2019

@mtxr mtxr added this to To do in Kanban via automation Aug 4, 2019

@mtxr mtxr closed this in a81cdc1 Aug 4, 2019

Kanban automation moved this from To do to To be released Aug 4, 2019

@mtxr

This comment has been minimized.

Copy link
Owner

commented Aug 4, 2019

@lmichelin thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.