Package: phpmyadmin
Version: 4:4.2.12-2+deb8u2
Severity: normal
Tags: patch

Dear Maintainer,

After I upgraded to Debian 8, I noticed create/drop index actions in phpmyadmin
only show the executed query for a brief moment. Consequently, I am not longer
able to copy these queries, e.g. for journaling purposes.

It looks like a double refresh of the underlaying page, so I took a look at the
javascript files, and comment out a couple of lines which fixed the problem for
me.

I have created diff files which I will upload with this report.

With kind regards,

Peter



-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages phpmyadmin depends on:
ii  dbconfig-common        1.8.47+nmu3+deb8u1
ii  debconf [debconf-2.0]  1.5.56
ii  libapache2-mod-php5    5.6.29+dfsg-0+deb8u1
ii  libjs-sphinxdoc        1.2.3+dfsg-1
ii  perl                   5.20.2-3+deb8u6
ii  php-gettext            1.0.11-1
ii  php5-json              1.3.6-1
ii  php5-mcrypt            5.6.29+dfsg-0+deb8u1
ii  php5-mysql             5.6.29+dfsg-0+deb8u1
ii  ucf                    3.0030

Versions of packages phpmyadmin recommends:
ii  apache2 [httpd]                          2.4.10-10+deb8u7
ii  apache2-mpm-prefork [httpd]              2.4.10-10+deb8u7
ii  mysql-client                             5.5.53-0+deb8u1
ii  mysql-client-5.5 [virtual-mysql-client]  5.5.53-0+deb8u1
ii  php-tcpdf                                6.0.093+dfsg-1
ii  php5-gd                                  5.6.29+dfsg-0+deb8u1

Versions of packages phpmyadmin suggests:
ii  epiphany-browser [www-browser]           3.14.1-1
ii  firefox-esr [www-browser]                45.6.0esr-1~deb8u1
ii  iceape [www-browser]                     2.7.12-1
ii  mysql-server                             5.5.53-0+deb8u1
ii  mysql-server-5.5 [virtual-mysql-server]  5.5.53-0+deb8u1
ii  w3m [www-browser]                        0.5.3-19

-- debconf information:
  phpmyadmin/dbconfig-remove:
* phpmyadmin/reconfigure-webserver: apache2
  phpmyadmin/upgrade-backup: true
  phpmyadmin/install-error: abort
  phpmyadmin/remove-error: abort
  phpmyadmin/missing-db-package-error: abort
  phpmyadmin/remote/host:
  phpmyadmin/dbconfig-install: true
  phpmyadmin/internal/reconfiguring: false
  phpmyadmin/mysql/method: unix socket
  phpmyadmin/db/app-user: phpmyadmin
  phpmyadmin/dbconfig-reinstall: false
  phpmyadmin/internal/skip-preseed: false
  phpmyadmin/setup-username: admin
  phpmyadmin/remote/newhost:
  phpmyadmin/dbconfig-upgrade: true
  phpmyadmin/purge: false
  phpmyadmin/upgrade-error: abort
  phpmyadmin/remote/port:
  phpmyadmin/mysql/admin-user: root
  phpmyadmin/passwords-do-not-match:
--- functions.org.js	2016-12-23 22:38:47.000000000 +0100
+++ functions.js	2016-12-21 16:16:02.000000000 +0100
@@ -2987,7 +2987,7 @@
                 }
                 $('div.no_indexes_defined').hide();
-                if (callback_success) {
-                   callback_success();
-                }
+//                if (callback_success) {
+//                   callback_success();
+//                }
                 PMA_reloadNavigation();
             } else {
--- indexes.org.js	2016-12-23 22:39:34.000000000 +0100
+++ indexes.js	2016-12-21 16:26:22.000000000 +0100
@@ -162,7 +162,7 @@
                         PMA_highlightSQL($('#page_content'));
                     }
-                    PMA_commonActions.refreshMain(false, function () {
-                        $("a.ajax[href^=#indexes]").click();
-                    });
+//                    PMA_commonActions.refreshMain(false, function () {
+//                        $("a.ajax[href^=#indexes]").click();
+//                    });
                     PMA_reloadNavigation();
                 } else {

Reply via email to