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

Improve error message with more details about the failure #1580

Closed
flavens opened this issue Jan 23, 2020 · 1 comment · Fixed by #1590
Closed

Improve error message with more details about the failure #1580

flavens opened this issue Jan 23, 2020 · 1 comment · Fixed by #1590
Assignees
Labels

Comments

@flavens
Copy link
Contributor

flavens commented Jan 23, 2020

Issue description
The full text search has been tested on Knora-app after checking out Knora-api develop branch with the latest commit. The data has been reloaded with make init-db-test. The search failed with some terms like "suisse" and "france". An error 404 has been thrown (see screen shot below).

What must have happened
I forgot to move the server file of BEOL into the images folder of BEOL.
In the BEOL mappings, a default XSL transformation is specified. This is a file hosted by Sipi which Knora requested but Sipi could not serve because it did not find it.

What we would like
A better explained error message would have been helpful to understand the situation.
Knora makes an internal request to Sipi for the XSLT file. If this request fails, Knora's error message should say that it tried to get this file from Sipi but got an unsuccessful response.

Screen shots
Error in the console of Chrome:
Screenshot 2020-01-23 at 15 14 37

@benjamingeer
Copy link

Thanks, I'll do this, it's easy to fix.

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

Successfully merging a pull request may close this issue.

3 participants