Skip to content

#12666 Identify: It sometimes select an empty option in the layer selector - #12736

Merged
stefanocudini merged 3 commits into
geosolutions-it:masterfrom
Binabh:fix/identify-feature-fix
Aug 7, 2026
Merged

stefanocudini merged 3 commits into
geosolutions-it:masterfrom
Binabh:fix/identify-feature-fix

Conversation

@Binabh

@Binabh Binabh commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Description

The Identify panel could display an empty layer selection sometimes but layers had valid featureInfo results. The problem was caused by a race in the mapInfo reducer: it retained the selected response index from the previous

The issue appeared only occasionally because its outcome depended on the order
in which the layer requests completed.

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?
#12666

What is the new behavior?
Harden the data replacement in reducer in order to make behaviour of identify feature consistent.

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

@Binabh Binabh added this to the 2026.02.01 milestone Jul 27, 2026
@Binabh
Binabh requested a review from allyoucanmap July 27, 2026 13:05
@Binabh Binabh added the bug label Jul 27, 2026
@cla-bot cla-bot Bot added the CLA Ready label Jul 27, 2026
@Binabh Binabh linked an issue Jul 27, 2026 that may be closed by this pull request
1 task done
@allyoucanmap
allyoucanmap requested review from stefanocudini and removed request for allyoucanmap July 29, 2026 08:50
@stefanocudini
stefanocudini force-pushed the fix/identify-feature-fix branch from 9cc468e to a98bb85 Compare August 7, 2026 08:45
@stefanocudini
stefanocudini self-requested a review August 7, 2026 12:23
@stefanocudini
stefanocudini merged commit 2083f60 into geosolutions-it:master Aug 7, 2026
11 checks passed
@stefanocudini

Copy link
Copy Markdown
Member

@ElenaGallo this can be tested on dev

@offtherailz

Copy link
Copy Markdown
Member

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.

Identify: It sometimes select an empty option in the layer selector

4 participants