-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug]: Category search times out or returns nothing. #5620
Comments
Hey @adambuchbinder, Thank you for reporting the issue. I tested it on my device and on version WhatsApp.Video.2024-03-13.at.10.00.08_f39a7f0b.mp4 |
@adambuchbinder Does that always happen, or just sometimes? |
I also experienced this several days before and thought it might be due to the unavailability of categories for some text. However, I did not recall for which text the category was blank in my case. |
It doesn't matter what I search for; nothing shows up in the category box. See the video. (Too large to attach, on mobile so can't reencode.) |
When a technical error happens here we should display a snackbar with the message. Even when the reason is that there is no internet, we do not show any error message: screen-20240315-103939.mp4 |
What is the cause that categories are not being fetched? Did you find anything in the logs? |
Sorry, I'm not familiar with some of the workflows here. How do I look at the logs to find out why categories aren't being fetched? |
@adambuchbinder in main menu, |
Thank you for your patience; here's what looks like the relevant log.
I've attached the full log: |
Interesting . That ERROR:
sounds like there are columns missing from internal SQL database. That should not happen normally (or the app wouldn't be working for anyone if such bug made it to the release). I'm not very familiar for code there, but I had to hazard a guess, I would guess that there was some previous version of Commons app installed before, and that upgrade to newer version didn't quite work, leaving the database out of sync with the app. If that guess is correct, then uninstalling (which will remove local database) and installing Commons app again (which will recreate it) should fix the issue. (provided you don't have some kind of os-based backup-app-data-to-cloud-and-restore-it-automagically-on-reinstall shenanigans enabled; in which case this might work instead: (full log also shows a case of |
@nicolas-raoul, Should we add |
You're right; clearing the app data fixed it. Thanks! (This actually persisted across a phone migration, which... thanks?) |
Summary
In the upload flow, the Category search does not bring anything up, regardless of the search text entered. There's no error message either.
Steps to reproduce
Category
page, enter some search text.Expected behaviour
Some categories should appear as options.
Actual behaviour
The list of categories is blank.
Device name
Google Pixel 5a
Android version
Android 14
Commons app version
4.2.1~14b6c455b
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Prefer not
The text was updated successfully, but these errors were encountered: