Repository navigation
Description
Description
This issue occurs when the search plugin is configured with multiple WFS endpoints.
When performing a global search with the "Search Tools" button,
remote requests are initiated in parallel for all WFS endpoints.
How to reproduce
This issue occurs when the search plugin is configured with multiple WFS endpoints.
Sample of plugin search configuration to replicate issue:
{
"name": "Search",
"cfg": {
"withToggle": ["max-width: 768px", "min-width: 768px"],
"searchOptions": {
"bottomMenuServices": false,
"services": [
{
"type": "nominatim"
},
{
"type": "wfs",
"name": "wfs",
"displayName": "{bla}",
"subTitle": "",
"priority": 1,
"options": {
"url": "/geoservers/wfs",
"typeName": "bla",
"queriableAttributes": [
"name"
],
"sortBy": "",
"maxFeatures": 5,
"srsName": "EPSG:4326"
}
},
{
"type": "wfs",
"name": "BROKEN",
"displayName": "broken",
"subTitle": "broken wfs",
"priority": 1,
"options": {
"url": "/geoservers/broken",
"typeName": "bla",
"queriableAttributes": [
"broken"
],
"sortBy": "",
"maxFeatures": 5,
"srsName": "EPSG:4326"
}
}
]
}
}
}Expected Result
show always results
Current Result
If one of the endpoints fails for any reason, the display of any results is blocked; the results provided by the responding endpoints are not displayed.
Other useful information
map resource with multiple WFS:
https://dev-mapstore.geosolutionsgroup.com/mapstore/#/viewer/62382
Security vulnerabilities
Do not report security vulnerabilities in public issues.
If you believe you have found a vulnerability in MapStore, please use GitHub private vulnerability reporting or contact the security address listed in SECURITY.md.
Activity
[-]Search plugin freezes on WFS request failure[/-][+]Search plugin freezes if some WFS request fails[/+]stefanocudini commentedon Aug 28, 2026
NOTE:
it could be this request here https://github.com/geosolutions-it/MapStore2/blob/master/web/client/epics/search.js#L87-L90
there is not a catch per request on serviceInstance just a global one
Fix #12840 search plugin freezes if some wfs request fails (#12903)