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
JavaScript error when auto completion is open #14555
Comments
|
if no one else is working on this, I would like someone to assign me this issue |
|
@ashraysinha6069 go ahead 😄 |
|
@ashraysinha6069 You're welcome to begin work — announcing your intention here is enough (since we can't assign issues to people who aren't part of the organization in GitHub). I don't really know where to begin working on this particular issue, but if you have general workflow questions you can ask here, on the mailing list, or in Gitter. Questions about the implementation or finding the right section of code are probably best asked right here, so as to keep discussion all in the same place. |
|
@ashraysinha6069 Are you still working on this issue ? |
This comment is posted automatically by phpMyAdmin's error-reporting-server. |
To ReproduceSteps to reproduce the behavior:
Reproduced on demo servers (root, no password) Error |
|
Another codemirror issue.., will open an issue and make a PR on the codemirror repo some day. |
This comment is posted automatically by phpMyAdmin's error-reporting-server. |
|
Hi @nina-py |
|
Hi @williamdes, I'll give it a go! |
|
I can't reproduce it on a standalone CodeMirror editor. This is a pretty elusive error - I can only reproduce this bug in Chrome, not Firefox (on Linux), and only intermittently. There must be something, somewhere though - this only happens when the editor gets torn down on form submission. I'll dig deeper when I have time. |
Signed-off-by: William Desportes <williamdes@wdes.fr>
Steps to reproduce
where field='abc'.Expected behaviour
The query should run with errors.
Actual behaviour
There is a JS error. I've sent an error report several times before but nothing has been fixed in many months. The exact error is:
Part of the issue is that the autocomplete popup is showing in the first place. When I type
='it pops up with suggestions for fields etc, but I've just opened a string so none of that applies. And it still doesn't go away even as I type (i.e. nothing matches but it's still suggesting stuff) and close the string. Here's a screenshot of the issue occurring on the demo server:The bug appears to happen when you type out the full field name and don't press tab to autocomplete it.
Server configuration
Operating system: both Mac & Linux
Web server: Apache & demo server
Database: MySQL 5.6
PHP version: 7.1 (localhost) & 7.2.6-1+0~20180611145758.22+stretch~1.gbpe20e8b (demo server)
phpMyAdmin version: 4.8.2
Client configuration
Browser: Chrome 67
Operating system: Mac
The text was updated successfully, but these errors were encountered: