Skip to content

#11120: Fix - Counter widget error when connected to a Table in dashboard#11244

Merged
allyoucanmap merged 2 commits intogeosolutions-it:masterfrom
dsuren1:#11120_widget_fix
Jun 27, 2025
Merged

#11120: Fix - Counter widget error when connected to a Table in dashboard#11244
allyoucanmap merged 2 commits intogeosolutions-it:masterfrom
dsuren1:#11120_widget_fix

Conversation

@dsuren1
Copy link
Copy Markdown
Contributor

@dsuren1 dsuren1 commented Jun 26, 2025

Description

This PR fixes the parsing error caused when empty ogc filter is send in the payload. Also corrects the tooltip on connect button based on the dependencies available

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?

What is the new behavior?
The counter widget when connected to table doesn't throw any parse error and the counter is updated correctly. All the dependency features are preserved for counter widget

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@dsuren1
Copy link
Copy Markdown
Contributor Author

dsuren1 commented Jun 26, 2025

Warning

Unit test error is not related to this PR

* fix_icon:
  fix FE unit tests failure due to change in PR 11236 (geosolutions-it#11245)
  geosolutions-it#10839: Allow printing by freely setting the scale factor (geosolutions-it#11130)
  Annotation/Measurement not shown in the legend of the printred map geosolutions-it#11235 (geosolutions-it#11236)
@allyoucanmap allyoucanmap merged commit 6a59eb3 into geosolutions-it:master Jun 27, 2025
6 checks passed
@allyoucanmap
Copy link
Copy Markdown
Contributor

@ElenaGallo please test this fix on dev and let us know if we can backport to 2025.01.xx and 2024.02.xx, thanks

@giohappy
Copy link
Copy Markdown
Contributor

giohappy commented Jul 2, 2025

@allyoucanmap @dsuren1 I've just tested on https://dev-mapstore.geosolutionsgroup.com/ and I still see the problem if I do the same steps described in the issue #11120

counter_bug

@dsuren1
Copy link
Copy Markdown
Contributor Author

dsuren1 commented Jul 2, 2025

@allyoucanmap @giohappy
Fix created here #11271

@tdipisa
Copy link
Copy Markdown
Member

tdipisa commented Jul 4, 2025

@ElenaGallo once done this need to be backported to both 2024.02.xx and 2025.01.xx

@tdipisa tdipisa modified the milestones: 2024.02.03, 2025.01.01 Jul 4, 2025
@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @dsuren1 please backport to 2025.01.xx. Thanks

dsuren1 added a commit to dsuren1/MapStore2 that referenced this pull request Jul 10, 2025
tdipisa pushed a commit that referenced this pull request Jul 11, 2025
…ed to a Table in dashboard (#11244) (#11301)

* #11120: Fix - Counter widget error when connected to a Table in dashboard (#11244)

(cherry picked from commit 6a59eb3)

* #11120: Skip dependency filter generation when filter parts are empty (#11271)

(cherry picked from commit 30fb2bc)

* #11282: Fix - Chart builder in map viewer is not working (#11283)

(cherry picked from commit fac32bc)
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

5 participants