Skip to content
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

TypeError in GIS data editor #14991

Closed
williamdes opened this issue Mar 2, 2019 · 6 comments
Closed

TypeError in GIS data editor #14991

williamdes opened this issue Mar 2, 2019 · 6 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted ui Issues relating to the user interface
Milestone

Comments

@williamdes
Copy link
Member

Cannot read property 'w' of null

Param Value
Error Type TypeError
Error Message Cannot read property 'w' of null
Exception Type js
phpMyAdmin version 4.8.3
Incident count 1860
Link Report#52611

This comment is posted automatically by phpMyAdmin's error-reporting-server.

@williamdes
Copy link
Member Author

Uncaught TypeError: Cannot read property 'w' of null
    at initialize.setMap (OpenLayers.js:679)
    at initialize.addLayer (OpenLayers.js:173)
    at <anonymous>:1:1095
    at m (jquery.min.js?v=5.0.0-dev:2)
    at Re (jquery.min.js?v=5.0.0-dev:2)
    at jQuery.fn.init.append (jquery.min.js?v=5.0.0-dev:2)
    at jQuery.fn.init.<anonymous> (jquery.min.js?v=5.0.0-dev:2)
    at z (jquery.min.js?v=5.0.0-dev:2)
    at jQuery.fn.init.html (jquery.min.js?v=5.0.0-dev:2)
    at Object.success (gis_data_editor.js?v=5.0.0-dev:151)

@williamdes
Copy link
Member Author

Uncaught TypeError: svg.on is not a function
    at SVGCircleElement.<anonymous> (tbl_gis_visualization.js:38)
    at Function.each (jquery.min.js?v=5.0.0-dev:2)
    at jQuery.fn.init.each (jquery.min.js?v=5.0.0-dev:2)
    at zoomAndPan (tbl_gis_visualization.js:35)
    at initGISEditorVisualization (gis_data_editor.js?v=5.0.0-dev:80)
    at Object.success (gis_data_editor.js?v=5.0.0-dev:152)
    at u (jquery.min.js?v=5.0.0-dev:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?v=5.0.0-dev:2)
    at k (jquery.min.js?v=5.0.0-dev:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js?v=5.0.0-dev:2)

@williamdes williamdes added Bug A problem or regression with an existing feature help wanted ui Issues relating to the user interface and removed automated-error-report labels Mar 2, 2019
@apoorvkhare07
Copy link
Contributor

Hey @williamdes, for the second issue reported Uncaught TypeError: svg.on is not a function, the issue might be that svg is not valid jQuery function unless some plugin is used. Here though we have used a plugin, the error may be coming up in cases when the plugin is not able to be loaded properly.

For this we might use a svg image of the same circle image and load it when required. something like $('circle.vector').load('circle.svg');

@williamdes
Copy link
Member Author

@apoorvkhare07 Thank you for the research !, can you fix this issue ?

@apoorvkhare07
Copy link
Contributor

apoorvkhare07 commented Mar 11, 2019

@williamdes Ya sure, Will do that. Should I open the Pull request against QA_4_8 ?

@williamdes
Copy link
Member Author

@apoorvkhare07 Yes, please, against QA_4_8 :)

apoorvkhare07 added a commit to apoorvkhare07/phpmyadmin that referenced this issue Mar 14, 2019
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Mar 14, 2019
williamdes added a commit that referenced this issue Mar 14, 2019
Fixes: #14991
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Mar 14, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes self-assigned this Mar 14, 2019
@williamdes williamdes added this to the 4.8.6 milestone Mar 14, 2019
williamdes added a commit that referenced this issue Mar 14, 2019
Fixes: Cannot read property 'w' of null
See: openlayers/ol2#669
Signed-off-by: William Desportes <williamdes@wdes.fr>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted ui Issues relating to the user interface
Projects
None yet
Development

No branches or pull requests

2 participants