Skip to content

Fix featuregrid selector reading undefined box - #12891

Merged
dsuren1 merged 2 commits into
geosolutions-it:masterfrom
nordiq-group:fix-featuregrid-selector-error
Sep 15, 2026
Merged

dsuren1 merged 2 commits into
geosolutions-it:masterfrom
nordiq-group:fix-featuregrid-selector-error

Conversation

@oskarbh7

@oskarbh7 oskarbh7 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Quick fix for a console error.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?

See this issue: #12890

What is the new behavior?

No error in console when changing location.

Breaking change

  • No

@cla-bot cla-bot Bot added the CLA Ready label Sep 15, 2026
@tdipisa tdipisa linked an issue Sep 15, 2026 that may be closed by this pull request
1 task done
@tdipisa tdipisa added this to the 2026.02.02 milestone Sep 15, 2026
@tdipisa

tdipisa commented Sep 15, 2026

Copy link
Copy Markdown
Member

Thank you very much for your contribution to the MapStore codebase. We will review it as soon as possible. In which MS version did you experience this bug? Many thanks.

@tdipisa

tdipisa commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

@dsuren1 as part of the review process, please check if this occurs only on master or also on the stable branch 2026.02.xx

@tdipisa
tdipisa requested review from dsuren1 and removed request for offtherailz September 15, 2026 07:53
@tdipisa tdipisa assigned dsuren1 and unassigned offtherailz Sep 15, 2026
@tdipisa tdipisa added the bug label Sep 15, 2026
@oskarbh7

oskarbh7 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Thank you very much for your contribution to the MapStore codebase. We will review it as soon as possible. In which MS version did you experience this bug? Many thanks.

Latest docker image; the "About" window contains this version information:

Version: Release 2026.02.00
Message: Version Release 2026.02.00
Commit: 962bf51
Date: Wed, 22 Jul 2026 13:20:54 +0000

@dsuren1 dsuren1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @oskarbh7
Thanks for the contribution! Could you please also add a unit test to cover this scenario?

@dsuren1

dsuren1 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

@dsuren1 as part of the review process, please check if this occurs only on master or also on the stable branch 2026.02.xx

@tdipisa Yes, it occurs in both master and stable

@oskarbh7

Copy link
Copy Markdown
Contributor Author

Hi @oskarbh7 Thanks for the contribution! Could you please also add a unit test to cover this scenario?

Added a viewportFilter - no bbox test in selectors/__tests__/featuregrid-test.js.

@oskarbh7
oskarbh7 requested a review from dsuren1 September 15, 2026 10:32
@dsuren1
dsuren1 merged commit 4c77fed into geosolutions-it:master Sep 15, 2026
15 checks passed
@offtherailz

Copy link
Copy Markdown
Member

Successfully created backport PR for 2026.02.xx:

tdipisa added a commit that referenced this pull request Sep 16, 2026
* Fix featuregrid selector reading undefined box

* Fix featuregrid selector reading undefined box (add unit test)

(cherry picked from commit 4c77fed)

Co-authored-by: Oskar <[email protected]>
Co-authored-by: Tobia Di Pisa <[email protected]>
MV88 pushed a commit that referenced this pull request Oct 5, 2026
* Fix featuregrid selector reading undefined box

* Fix featuregrid selector reading undefined box (add unit test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FeatureGrid viewport-filter crash on LOCATION_CHANGE

4 participants