You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[BUG] "Feed DAO is not loaded in UserQuery" error when filtering search results by user query #5668
Describe the bug
If I use the search field to filter results by user query (saved search) that has a feed or a category in it, the browser displays an error "Feed DAO is not loaded in UserQuery".
To Reproduce
Create a new user query with any expression, and select any feed or category in the Type list (see screenshot below). Note the id of the query, e.g. 1
Go to "Main stream" page and type in "S:1" in the search field
The browser displays an error "HTTP 500: Application problem (Feed DAO is not loaded in UserQuery)"
Expected behavior
The search results should be filtered according to the user query.
Screenshots
Environment information:
Device: PC
OS: Windows 11
Browser: Microsoft Edge 117
FreshRSS version: 1.21.0
Database version: SQLite
PHP version: PHP 7.4.33
Installation type: Image from Docker Hub freshrss/freshrss:latest
Now everything is ok, there is no error. However, search by user query with a specific feed works a bit strange. All feeds from the Main stream are displayed in the search results, but not this particular feed.
Example:
Set "FreshRSS releases" feed visibility to "Show in its category"
Create a user query with this feed and expression "muting"
Go to the main page
Type "S:1" to the search field.
No articles found.
Expected behavior: one article from FreshRSS releases feed was found.
Not sure if this is a bug. Then I can close this issue.
Activity
Fix search using user queries
Alkarex commentedon Sep 23, 2023
Thanks for the bug report 👍🏻
Would you be able to test #5669 ?
If you use docker-compose, here is an option:
Edit your docker-compose on the model of https://github.com/FreshRSS/FreshRSS/blob/edge/Docker/freshrss/docker-compose.yml with the following information:
And then execute a
docker-compose upjust like you normally do.See also https://github.com/FreshRSS/FreshRSS/blob/edge/Docker/README.md#build-custom-docker-image
Totaxe commentedon Sep 24, 2023
Now everything is ok, there is no error. However, search by user query with a specific feed works a bit strange. All feeds from the Main stream are displayed in the search results, but not this particular feed.
Example:
No articles found.
Expected behavior: one article from FreshRSS releases feed was found.
Not sure if this is a bug. Then I can close this issue.
Fix search using user queries (#5669)
Alkarex commentedon Sep 26, 2023
This is another bug, so let's make another issue: #5674