knex-querylab icon indicating copy to clipboard operation
knex-querylab copied to clipboard

site crashes when you run my code

Open Murat-Karakaya opened this issue 2 years ago • 0 comments

Bug The site simply becomes an empty page when you run a code given in the "To Reproduce" section in this message.

To Reproduce Steps to reproduce the behavior:

  1. Go to here
  2. paste this code in the "Expression" input,
knex('hello-world').select('foo').where("name", false /* or you can pass 'false' as the second parameter*/)
  1. Now the website is simply blank.

Desktop: The problem is not about browser, device or OS it happens everywhere.

Smartphone The problem is not about browser, device or OS it happens everywhere.

Additional context when the site turns blank, you can see an error in the console: Uncaught TypeError: Cannot read properties of undefined (reading 'slice') meaning something could be wrong in your redux code. But I find this very unlikely. I think you should put an error boundry.

I hope this helps.

Murat-Karakaya avatar Aug 18 '23 20:08 Murat-Karakaya