Skip to content

Setting ckan.search.solr_allowed_query_parsers in ini results in error #345

@bzar

Description

@bzar

https://github.com/ckan/ckanext-spatial/blob/master/ckanext/spatial/plugin/__init__.py#L165 assumes that config["ckan.search.solr_allowed_query_parsers"] contains a list, but if it is set in ini file (and not by the above default value) it contains a string, causing an error. Also if the string already contains the value in qp, adding a duplicate is unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions