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

Fix infinite loop when query panel is closed. #1377

Merged
merged 2 commits into from
Jan 10, 2017

Conversation

offtherailz
Copy link
Member

This error happens when closing the query panel (in debug mode) .

image
This is due to the onClick event bind directly to the action, passing the wrong parameters (the mouseEvent instead of the search URL).
In debug this causes an immutable error, in general the state becomes not consistent anymore.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.218% when pulling dcff10a on offtherailz:fix_query_state into c95bab9 on geosolutions-it:master.

@@ -33,7 +33,7 @@ const MapPlugin = React.createClass({
},
getDefaultProps() {
return {
mapType: 'leaflet',
mapType: 'cesium',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't wanted to commit that. sorry, I'm going to revert this change

@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 80.226% when pulling fcdc5db on offtherailz:fix_query_state into c95bab9 on geosolutions-it:master.

@mbarto mbarto merged commit 6d2d8fd into geosolutions-it:master Jan 10, 2017
@offtherailz offtherailz deleted the fix_query_state branch January 26, 2018 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants