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

10294 fix arcgis layer grouping bug #10356

Merged
merged 2 commits into from
May 31, 2024

Conversation

Igi-ID
Copy link
Contributor

@Igi-ID Igi-ID commented May 23, 2024

Description

This PR fixes #10294 , namely, adding an arcgis type layer to a selected group does not add the layer to the group.

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

What is the new behavior?
Layer is correctly added to the selected group on initialization,

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

@Igi-ID Igi-ID added this to the 2024.01.01 milestone May 23, 2024
@Igi-ID Igi-ID requested review from tdipisa and allyoucanmap May 23, 2024 09:26
@Igi-ID Igi-ID self-assigned this May 23, 2024
@tdipisa tdipisa removed their request for review May 23, 2024 09:33
@tdipisa
Copy link
Member

tdipisa commented May 28, 2024

@Igi-ID (FYI @allyoucanmap) I think the PR title is confusing since there is no specific mention of arcgis in the connected issue. If the problem is effectively connected to layers coming from an arcgis server it is better to specify that in the issue also indicating some URL samples to use for testing purposes.

@tdipisa tdipisa modified the milestones: 2024.01.01, 2024.01.02, 2024.02.00 May 28, 2024
@Igi-ID
Copy link
Contributor Author

Igi-ID commented May 28, 2024

@Igi-ID (FYI @allyoucanmap) I think the PR title is confusing since there is no specific mention of arcgis in the connected issue. If the problem is effectively connected to layers coming from an arcgis server it is better to specify that in the issue also indicating some URL samples to use for testing purposes.

I've adjusted the linked issue to better reflect the nature of the bug. To clarify here as well, the bug only occurs when constructing the layer object inside MS and only for the arcgis type. When the layer object is created, a group property should exist on the layer for grouping inside TOC to work.

@tdipisa
Copy link
Member

tdipisa commented May 28, 2024

@Igi-ID thank you. I've changed the milestone accordingly then.

@allyoucanmap allyoucanmap merged commit 909d495 into geosolutions-it:master May 31, 2024
6 checks passed
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test this fix on dev, thanks

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.

Add layer to selected group action does not add arcgis layer type to group.
3 participants