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

Themes Plugin internal error 500 with solr search provider #36

Open
HeatherHillers opened this issue Feb 14, 2022 · 0 comments
Open

Themes Plugin internal error 500 with solr search provider #36

HeatherHillers opened this issue Feb 14, 2022 · 0 comments

Comments

@HeatherHillers
Copy link

(tenantConfig.json attached)

Add a solr search configuration as a search provider for a theme and configure it by directly editing tenantConfig.json.

Open QWC Admin and generate the configuration.

Restart the browser

Check the Theme in the website and confirm that the search is configured and running properly, so the configuration is definitely good.

Open QWC Admin.
Open Themes

Attempt to load the Theme Configuration form for the project configured for the search provider.

You will get a 500 error. It will only happen for the project with the solr search provider.

Presumably, this could be because the Project form has an entry for search providers, and it doesn't support more than simple search provider names, while solr has a more complicated config.

.#
'''
"searchProviders": [
"coordinates",
"nominatim",
{
"provider": "solr",
"default": [
"Gemeinden"
],
"layers": {
}
}
],

[tenantConfig.zip](https://github.com/qwc-services/qwc-admin-gui/files/8061190/tenantConfig.zip)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant