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

Visualize GIS broken #13806

Closed
ibennetch opened this Issue Nov 9, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@ibennetch
Member

ibennetch commented Nov 9, 2017

Steps to reproduce

  1. Browse to a table with some GIS data
  2. Click "Browse GIS data"

Actual behaviour

Many messages are shown:

Notice in ./libraries/classes/Gis/GisVisualization.php#592

 Undefined index: maxX

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#592

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#593

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#593

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#605

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#607

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#607

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#614

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#615

 Undefined index: maxX

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#616

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#617

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#305: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Gis/GisVisualization.php#321: PhpMyAdmin\Gis\GisVisualization->_svg()
./libraries/classes/Gis/GisVisualization.php#508: PhpMyAdmin\Gis\GisVisualization->asSVG()
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#210: PhpMyAdmin\Gis\GisVisualization->toImage(string 'svg')
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#592

 Undefined index: maxX

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#592

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#593

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#593

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#605

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#607

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#607

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#614

 Undefined index: minX

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#615

 Undefined index: maxX

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#616

 Undefined index: minY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()
Notice in ./libraries/classes/Gis/GisVisualization.php#617

 Undefined index: maxY

Backtrace

./libraries/classes/Gis/GisVisualization.php#424: PhpMyAdmin\Gis\GisVisualization->_scaleDataSet(array)
./libraries/classes/Controllers/Table/TableGisVisualizationController.php#211: PhpMyAdmin\Gis\GisVisualization->asOl()
./tbl_gis_visualization.php#42: PhpMyAdmin\Controllers\Table\TableGisVisualizationController->indexAction()

Server configuration

Operating system:
Debian
Web server:
Apache
Database:
MySQL 8.0.0
PHP version:
5.6.30
phpMyAdmin version:
master

@ibennetch ibennetch added this to the 4.8.0 milestone Nov 9, 2017

@ibennetch

This comment has been minimized.

Show comment
Hide comment
@ibennetch

ibennetch Nov 9, 2017

Member

I believe this was just fixed by @mauriciofauth, probably as 708bd63.

You're quite efficient, having fixed it while I was testing and before I even had a chance to report it :)

Member

ibennetch commented Nov 9, 2017

I believe this was just fixed by @mauriciofauth, probably as 708bd63.

You're quite efficient, having fixed it while I was testing and before I even had a chance to report it :)

@ibennetch ibennetch closed this Nov 9, 2017

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