Skip to content

[Backport 5.1.x] Fix #2515 Only WMS maplayers are persisted correctly in the resource payload (#2517)#2530

Merged
allyoucanmap merged 2 commits into
GeoNode:5.1.xfrom
allyoucanmap:issue_2515_5.1.x
May 11, 2026
Merged

[Backport 5.1.x] Fix #2515 Only WMS maplayers are persisted correctly in the resource payload (#2517)#2530
allyoucanmap merged 2 commits into
GeoNode:5.1.xfrom
allyoucanmap:issue_2515_5.1.x

Conversation

@allyoucanmap
Copy link
Copy Markdown

This backport includes following commits:

The commit 05874a3 has been included for the changes done geonode-mapstore-client side related to the improvement of the dataset data payload workflow.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors dataset resource data handling by introducing a nested structure for layer settings and map configurations. It updates the API, epics, reducers, and selectors to ensure map state and projection settings are correctly persisted during transitions. The map zooming logic was also updated to defer execution until the map plugin mounts. A review comment correctly identified an incorrect state path access for the subtype property in a selector, which would cause styles to be incorrectly persisted for certain layer types.

Comment thread geonode_mapstore_client/client/js/selectors/resource.js
@allyoucanmap allyoucanmap merged commit b3147b0 into GeoNode:5.1.x May 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only WMS maplayers are persisted correctly in the resource payload

3 participants