You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search Plugin configuration defined by UI in a context is not retained in map created from the same context #10768
When creating the map the custom search service returns results but as soon as the page is refreshed the custom search service is lost.
Also, when investigating the map-created-from-context configuration, the custom service seems to be present in the configuration but it just won't work in the UI, when the search term is inserted in the text box no results from the custom service is returned.
How to reproduce
Create a simple context including a custom search service from the UI (using the 'cog' icon button) once the context is created.
Implement a custom search service (see images 1 and 2 attached)
Try to input a relevant search term on the text box for the custom search service.
Observe that relevant results for the custom search service are returned
Save such context as a map and observe that the search service returns results from the custom search service
Refresh the map and observe how now the search service will not return any result from the custom search service.
Expected Result
The expected result would be that the custom search service would still be retained, in fact investigating the created map on the Dev tools the custom search configuration is present in the services array of text search config entry for the context see image attached.
The wanted result would be the defined search service to be retained when the context is saved as map. Current Result
Activity
Fix geosolutions-it#10768 SearchServicesConfig was not updating state…
Fix geosolutions-it#10768 SearchServicesConfig was not updating state…
Sync-Fork-4-01-25 (#35)