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

URL aliases ignored on added layers #10826

Open
1 task done
camuffo opened this issue Feb 19, 2025 · 1 comment · May be fixed by #10843
Open
1 task done

URL aliases ignored on added layers #10826

camuffo opened this issue Feb 19, 2025 · 1 comment · May be fixed by #10843
Assignees
Labels
Milestone

Comments

@camuffo
Copy link
Contributor

camuffo commented Feb 19, 2025

Description

URL aliases used for domain sharding are ignored when a layer is added to the map.

How to reproduce

  • configure URL aliases
  • add a layer to the map

Expected Result
Aliases are used for requests.

Current Result
Only the main URL is used for requests.

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Map: https://mapstore.geosolutionsgroup.com/mapstore/#/viewer/10046

@camuffo camuffo added this to the 2025.01.00 milestone Feb 19, 2025
@camuffo camuffo changed the title URL aliases don't ignored on added layers URL aliases ignored on added layers Feb 19, 2025
@tdipisa tdipisa assigned dsuren1 and unassigned tdipisa and camuffo Feb 20, 2025
@dsuren1
Copy link
Contributor

dsuren1 commented Feb 21, 2025

Investigation outcome

The issue occurs during an auto-search, where URLs with domain aliases are ignored. However, this issue does not occur when a new service is added or when performing a new search on an existing service. It only happens after an initial set of results is loaded, and a further search is performed—at which point the domain is ignored.
Btw, this is not a regression but an existing issue, as it occurs only in specific cases, as explained above

dsuren1 added a commit to dsuren1/MapStore2 that referenced this issue Feb 24, 2025
@dsuren1 dsuren1 linked a pull request Feb 24, 2025 that will close this issue
5 tasks
@dsuren1 dsuren1 linked a pull request Feb 24, 2025 that will close this issue
5 tasks
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 a pull request may close this issue.

3 participants