-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]: Categories fail to load when search term is empty #6127
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
Comments
apps-android-commons/app/src/main/java/fr/free/nrw/commons/upload/categories/CategoriesPresenter.kt Line 143 in 0e73551
The issue seems to be caused by a null pointer exception, and is present since 0e73551
This is strange because captionText is null. Replacing the above line with |
Yes I have observed this issue very frequently recently, like 50% of uploads. |
possibly related: #5910 |
Maybe 100% of the time actually. |
+1 I am observing this issue on main too. It basically does not seem to be showing categories at all even when searching for some text. |
Summary
While uploading an image, when the categories screen is first loaded, the search term is empty. Thus, the following categories are supposed to be shown:
However, no categories are shown at all, when the search term is empty.
Steps to reproduce
Expected behaviour
The categories associated with depicted item(s), and recent categories, and so on... are listed.
expected.mp4
Actual behaviour
No categories are listed.
actual.mp4
Device name
Samsung S20 FE
Android version
Andoid 13
Commons app version
5.0.2-debug-main~0e735512b (latest main)
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: