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 renaming table #10846
Comments
|
I am unable to reproduce this bug with version 4.2.2. Are you getting this error every time you try to rename a table?
|
|
|
Strange, I am not getting a Javascript error now. Maybe there was something else that was causing the issue.
|
|
|
Looking at the exception it looks like the 'selflink' that appears at the bottom of each page was missing in the rename page (probably due to some other error). Exception when renaming is the side effect. Anyway, thanks for reporting this. Closing for now.
|
|
OK I checked into this further and have found the issue. It's the "open new phpmyadmin window" link as you said. The link disappears under these circumstances:
What happens is a new tab is opened, rather than running the query in the tab from which the pop-up window was opened. That new tab for some reason doesn't have that 'selflink'. Incidentally, I commented about this before: https://sourceforge.net/p/phpmyadmin/bugs/4229/#7aca So I suppose the bug is that the link is missing when a new PMA window is opened. However, the JavaScript ought to be coded to avoid this too - if
|
|
Another instance this situation occurs: click "Import" and then import anything into a table. The selflink disappears again. Why exactly was this closed? It's still a bug. Even if this is a side-effect of another bug, I don't see a separate ticket for that bug (the selflink disappearing).
|
|
|
|
Fixed with 2e76e83
|
|
…ndefined Signed-off-by: Eugene Kazakov <ekazakov@plesk.com>
…ndefined Signed-off-by: Eugene Kazakov <ekazakov@plesk.com>
…ndefined Signed-off-by: Eugene Kazakov <ekazakov@plesk.com>
…ndefined Signed-off-by: Eugene Kazakov <ekazakov@plesk.com>
This comment is posted automatically by phpMyAdmin's error-reporting-server. |
…ndefined Signed-off-by: Eugene Kazakov <ekazakov@plesk.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Go to a table, then to the Operations tab.
Type a new name in the "Rename table to" box and click Go.
A Javascript error appears (the table is renamed fine, however).
There was also an error sending the error report, so here's the details:
I'm using PMA from Github (STABLE branch).
The text was updated successfully, but these errors were encountered: