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
When uploading a photo, the step 3 is performing a category search. At the moment I get in that page, an error message ' no categories found' is incorrectly displayed even when the search input field is empty. Then the editText will not accept any input. This behavior is unexpected because no search should trigger an error message when no input is provided. The error message should only appear when a valid search term is entered and no results are found.
Steps to reproduce
Click the '+' in the right bottom of main page.
Choose the second button which means select an existing photo
Choose a photo
Finish the step1 and step2
Enter the page of step 3, the error message will show immediately and disappear. Then no matter what you type in, the edit text wont accept it and won't search.
Expected behaviour
The system should not display an error message if user has just enter that page.
Actual behaviour
The error message show immediately and disappear. Then no matter what you type in, the edit text wont accept it and won't search.
Device name
Android Emulators
Android version
Android 14
Commons app version
master
Device logs
2024-10-19 02:11:18.611 8054-8054 AutofillManager fr.free.nrw.commons.beta D view not autofillable - not passing ime action check
Screen-shots
No response
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered:
I found this bug when I work on #4895. I think it is because showError of onAttachView did not check if the term is not blank.
So if possible, could I work on this issue?
Summary
When uploading a photo, the step 3 is performing a category search. At the moment I get in that page, an error message ' no categories found' is incorrectly displayed even when the search input field is empty. Then the editText will not accept any input. This behavior is unexpected because no search should trigger an error message when no input is provided. The error message should only appear when a valid search term is entered and no results are found.
Steps to reproduce
Expected behaviour
The system should not display an error message if user has just enter that page.
Actual behaviour
The error message show immediately and disappear. Then no matter what you type in, the edit text wont accept it and won't search.
Device name
Android Emulators
Android version
Android 14
Commons app version
master
Device logs
2024-10-19 02:11:18.611 8054-8054 AutofillManager fr.free.nrw.commons.beta D view not autofillable - not passing ime action check
Screen-shots
No response
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: