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

Fatal javascript error while adding index to a new column #14402

Open
nulll-pointer opened this Issue Jun 18, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@nulll-pointer
Contributor

nulll-pointer commented Jun 18, 2018

Steps to reproduce

  1. Create a new column in an existing table.
  2. Select PRIMARY in the drop down to add index, deselect primary from the drop down.
  3. PRIMARY still appears in the link below this dropdown, click the link.

Expected behaviour

Should show the dialog to select index.

Actual behaviour

Fatal javascript error, cannot read property undefined of null

Server configuration

Operating system:
ubuntu 16.04

Web server:
apache 2.4.29

Database:
mariadb 10.1.30

PHP version:
7.1.14

phpMyAdmin version:
5.0.0-dev

Client configuration

Browser:
chrome 66.0.3359.117

@aswaniprakash

This comment has been minimized.

Contributor

aswaniprakash commented Jun 26, 2018

@nulll-pointer Shouldn't we just remove the link when we select none ('---') from the index dropdown and show the link only when other values are selected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment