apps-android-commons: [Bug]: No response when search in area is used at some places
Summary
When going to another location where no images may be available, then no response is shown when clicking SEARCH THIS AREA.
Steps to reproduce
- Open Explore Fragment
- Go to Map
- Explore any location like mountains, sea, etc., where no images are available
- Click on
SEARCH THIS AREA
Expected behaviour
A response should be shown to the user just like before.
Actual behaviour
No response is shown.
Device name
SAMSUNG A14
Android version
ANDROID 14
Commons app version
Latest Updated
Device logs
When sending a request to the Wikimedia server from the map fragment, this is the response that is received:-
{ "error": { "code": "invalid-coord", "info": "Invalid coordinate provided", "docref": "See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes." }, "servedby": "mw2286" }
Screen-shots
Would you like to work on the issue?
None
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (9 by maintainers)
Hi @rohit9625 I am looking into it 😉
Oh, my apologies for that. @kanahia1 seems to be working on this.
@sivaraam I think that #5490 and #5461 are related, as both the Nearby and the Explore fragments don’t work correctly when location access is not there. But this issue seems to be when we Search at a particular location where images are not there, so I think it’s a bit different.