-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Offline full article getting deleted due to being stored in cachedir #443
Comments
To clarify, I can press the article button to fetch the full article with no issue. It's the "summary"/article that is suppose to be in the feed itself for offline reading that isn't loading for older feed item and showing 'Found nothing to fetch'. Screenrecorder-2024-12-05-12-05-07-589.mp4 |
You have enabled "fetch full by default" and that is why you are getting an error. feeder can't find the full article to fetch anymore. when you press the button you switch to the "non-full" version which is always available. do not enable fetch full by default for feeds which do not need it (like feeder news) |
Here is another old feed with wifi and data turned off, article doesn't load at all. Screenrecorder-2024-12-06-15-01-16-955.mp4Here is with wifi turned on and the article loading: Screenrecorder-2024-12-06-15-01-55-914.mp4I don't think setting is inverted: Screenrecorder-2024-12-06-14-55-31-619.mp4 |
I did a grep on logcat, does this mean the article is gone within feeder?
I believe it is hitting the false path for fullText. Feeder/app/src/main/java/com/nononsenseapps/feeder/ui/compose/feedarticle/ArticleViewModel.kt Lines 190 to 210 in d69df4c
|
if you have not enabled full text by default, then it won't try to fetch the full text. so i don't think that's the code path. during sync feeder writes the articles to disk. have you done anything to clear data or similar which might delete something? |
There only two place for "Found nothing to fetch" and one for "No default file to parse", if it's not that file/lines, I have no idea where else to look. I thought maybe if it enter that block of code there, where the file is not found, it can attempt to look else where as there should be somewhere else with the information as it shows it on the feed list when more lines are shown. I do not recall clearing anything, I do not even have root, and at the very least not this month as one of my most frequently updating feed, notebookcheck, already has feed older than 3rd December 22:32 gone into "Found nothing to fetch". https://www.notebookcheck.net/News.152.100.html from the feed titled below onwards: I don't think the global rom auto clear stuff, the system still says feeder using 306MB user data and 283MB cache. No idea how to filter by tag so I filter by uid, nothing useful stick out to me.
|
12-17-2024: Issue updated with new information and description discovered in #447
Description of Bug
Offline version of article may get deleted by android due to being stored in cachedir, resulting in full version of older article and saved article being permanently lost with only the tiny snippet left for displaying article lines in feed view.
https://developer.android.com/training/data-storage/app-specific#internal-remove-cache
Why this is an issue
Feeder list
Offline reading
as a feature and this affect that feature directlyExpected behaviour
Article shouldn't be deleted while still accessible and available in the feed list
Current behaviour
User can clear the app cache without realizing the consequential.
Android might clear the app cache when low on storage.
Both resulting in lost of full version of older/saved article.
What has been done about this issue:
17-12-2024:
Found nothing to fetch
, now it show the snippet.original report:
Checklist
App version
2.7.0
Where did you get the app from
F-Droid
Android version
13 TKQ1.221114.001 (1.0.2.0.TKHMIXM) (POCO Official/Xiaomi HyperOS)
Device model
POCO F3
First occurred
Long ago (sorry)
Steps to reproduce
Expected behaviour
It shows the article that is cached,
by changing the settings to show 10 lines, it suggest there is a cached version.
Current behaviour
Old feeds shows "Found nothing to fetch", some of my feed less than a week old are already showing "Found nothing to fetch", making feeder less useful when offline.
Logs
No response
The text was updated successfully, but these errors were encountered: