Skip to content

Search Plugin configuration defined by UI in a context is not retained in map created from the same context #10768

Closed

Description

@MV88

Description

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

  1. Create a simple context including a custom search service from the UI (using the 'cog' icon button) once the context is created.
  2. Implement a custom search service (see images 1 and 2 attached)
  3. Try to input a relevant search term on the text box for the custom search service.
  4. Observe that relevant results for the custom search service are returned
  5. Save such context as a map and observe that the search service returns results from the custom search service
  6. 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

  • 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

Activity

  1. added this to the 2025.01.00 milestone on Jan 20, 2025
  2. self-assigned this
    on Jan 20, 2025
  3. added a commit that references this issue on Jan 20, 2025
    29f0e49
  4. added a commit that references this issue on Jan 21, 2025
    d3d0ee6
  5. self-assigned this
    on Jan 22, 2025
  6. added a commit that references this issue on Apr 1, 2025
    66a6a0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions