-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Negative tests for books selection during search
- Loading branch information
1 parent
6ef4f63
commit e3fffd9
Showing
1 changed file
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e3fffd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I am getting this "Confusion of Tongues" error when doing a generic search using books.name=ted_mul_all_2024-07 (All Ted Videos ZIM).
http://192.168.1.40:3000/kiwix/viewer#search?books.name=ted_mul_all_2024-07&pattern=test Invalid request The requested URL "/kiwix/search?books.name=ted_mul_all_2024-07&pattern=test&userlang=en" is not a valid request. Two or more books in different languages would participate in search, which may lead to confusing results.
It also seems to be the default response when I input a blank URL.
http://192.168.1.40:3000/kiwix/search?books.name=ted_mul_all_2024-07
--Same output as above. Two or more books... blah blah.--
Using a Different ZIM file:
What's weird is that the same exact query works properly for a different book, such as Wikipedia:
http://192.168.1.40:3000/kiwix/viewer#search?books.name=wikipedia_en_all_maxi_2024-01&pattern=test
...provides search results as expected...
Using a blank query for the Wikipedia ZIM gives me a "No query provided" response:
http://192.168.1.40:3000/kiwix/search?books.name=wikipedia_en_all_maxi_2024-01
The requested URL "/kiwix/search?books.name=wikipedia_en_all_maxi_2024-01" is not a valid request. No query provided.
Due to this issue in the TED videos ZIM, I am unable to search for anything when using this ZIM.
e3fffd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened a new issue. #1159