# Identify Modal sometimes shows information from previous observation

**URL:** <https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408>\
**Category:** Bug Reports\
**Created:** [December 3, 2019, 6:14pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408 "2019-12-03T18:14:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [December 3, 2019, 6:14pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/1 "2019-12-03T18:14:47Z")

</div>

> [@Out-of-taxon suggestions from visually-similar search with taxonomic restriction](https://forum.inaturalist.org/t/out-of-taxon-suggestions-from-visually-similar-search-with-taxonomic-restriction/7858/8):
>
> If you’re using the Identify page, I wonder if the modal hasn’t “caught up” to the current observation and is using info from the last one

I always thought it was a bug that the Identify Modal runs through data from previous observations when you click on Suggestions. Is that how it’s intended to work? I find that it really slows down my workflow, and that it often gets stuck such that I have to leave the Suggestions tab and come back (sometimes more than once) to get it to refresh to the data from the current observation.

---

<div class="post-metadata">

**Author:** ![astra\_the\_dragon](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/astra_the_dragon/32/37251_2.png) [@astra\_the\_dragon](https://forum.inaturalist.org/u/astra_the_dragon)\
**Post date:** [December 3, 2019, 6:17pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/2 "2019-12-03T18:17:50Z")

</div>

Happens to me as well. In the unlikely event it’s intentional, I find it highly irritating.  
I wonder if it’s only an issue for users with slow internet loading times?

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 4, 2019, 9:26pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/3 "2019-12-04T21:26:01Z")

</div>

> [@astra\_the\_dragon](#):
>
> I wonder if it’s only an issue for users with slow internet loading times?

I’ve got quite fast internet at my place, my guess is it’s on the iNat and/or browser side, probably the former, especially if the site is busy. There is a lot going on on the Identify page, it’s pretty resource hungry and makes a lot of API calls. It’s certainly not intentional.

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [December 4, 2019, 9:59pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/4 "2019-12-04T21:59:43Z")

</div>

So would this be appropriate to report as a bug? I know I would very much appreciate a fix.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 4, 2019, 10:02pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/5 "2019-12-04T22:02:47Z")

</div>

For sure, but I can’t estimate when a fix might be, unfortunately.

---

<div class="post-metadata">

**Author:** ![maractwin](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/maractwin/32/3525_2.png) [@maractwin](https://forum.inaturalist.org/u/maractwin)\
**Post date:** [May 26, 2021, 1:20pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/7 "2021-05-26T13:20:20Z")

</div>

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

**Platform** (Android, iOS, Website): Website

**App version number** , if a mobile app issue (shown under Settings or About):

**Browser** , if a website issue (Firefox, Chrome, etc) : Firefox on Mac

**URLs (aka web addresses) of any relevant observations or pages**:

**Screenshots of what you are seeing** (instructions for taking a screenshot on computers and mobile devices: [https://www.take-a-screenshot.org/](https://www.take-a-screenshot.org/)):

 ![Screen Shot 2021-05-26 at 7.49.07 AM (2)](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/4/6/46a0e59fbba0cf7d250e29bdb6b71a3af0c407c3.jpeg)

**Description of problem** (please provide a set of steps we can use to replicate the issue, and make as many as you need.):  
Sometimes when stepping through observations to identify, the country shown by the map is incorrect. I think when this happens, it is showing the country from the previous observation.

This isn’t the first time this bug has been reported, and it was fixed before. Rather than rely on the asynchronous javascript, can we blank that field when switching observations, so if we do not get the updated info, we show nothing rather than incorrect data?

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [May 27, 2021, 8:23pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/8 "2021-05-27T20:23:47Z")

</div>

does this bug report really need to exist, given that you also logged this feature request ([https://forum.inaturalist.org/t/update-the-website-u-i-to-better-handle-slow-server-responses/23399](https://forum.inaturalist.org/t/update-the-website-u-i-to-better-handle-slow-server-responses/23399))?

---

<div class="post-metadata">

**Author:** ![maractwin](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/maractwin/32/3525_2.png) [@maractwin](https://forum.inaturalist.org/u/maractwin)\
**Post date:** [May 28, 2021, 11:50am UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/9 "2021-05-28T11:50:21Z")

</div>

These are different. This isn’t the system just being slow updating this. Sometimes it never updates. This one sat on my screen for more than a minute before I took the screen shot.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [May 28, 2021, 12:30pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/10 "2021-05-28T12:30:21Z")

</div>

hmmm… i’m not on Mac, but when i switch between observations in either Firefox or Chrome on Windows, i do see the country switching to “somewhere on Earth” before being replaced by the country name as each observation loads. as far as i can tell, if there is no country returned, the country remains “somewhere on Earth”. does the “somewhere on Earth” not happen on Mac, or does it switch to “somewhere on Earth” before being replaced by an incorrect country?

just for reference, here’s an Identify query that pulls back observations from on/near land (which would have a country) and in the ocean (which would have no country and should keep “somewhere on Earth”): [https://www.inaturalist.org/observations/identify?reviewed=any&nelat=-20.9398005481376&nelng=-81.37367477465583&subview=map&swlat=-41.425354720906014&swlng=-141.38539245177222&taxon\_id=47178](https://www.inaturalist.org/observations/identify?reviewed=any&nelat=-20.9398005481376&nelng=-81.37367477465583&subview=map&swlat=-41.425354720906014&swlng=-141.38539245177222&taxon_id=47178)

i also specifically went into my browser’s network monitor and blocked the API request URL associated with a particular observation, and that caused the API request to fail. in that situation, the “somewhere on Earth” also remained, as opposed to switching to the previous observation’s country. (so i couldn’t reproduce the problem that way either… so maybe this is just a Mac thing.)

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [May 28, 2021, 12:46pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/11 "2021-05-28T12:46:21Z")

</div>

I can reproduce in Chrome on Windows, but only if I skip through multiple observations quickly. This one showed somewhere on Earth briefly, then Czechia, then Russia. The actual Russian observation was the one before it.

![image](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/b/2/b23b36603ad3f4968fd9841f040134f145875597.png)

- Open Identify Modal
- Hit right arrow 3 times
- It will show “somewhere on Earth” and then maybe get the correct country, but often it will go through multiple countries and finish on the wrong one

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [May 28, 2021, 12:58pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/12 "2021-05-28T12:58:38Z")

</div>

> [@jwidness](#):
>
> but often it will go through multiple countries and finish on the wrong one

ok. i can see the cycling through countries if i throttle my connection in the network monitor. if i quickly cycle through A (country X), B (country Y), and C (no country), and i’ve blocked the request URL for C, then i do see C ends up country Y.

> [@maractwin](#):
>
> can we blank that field when switching observations, so if we do not get the updated info, we show nothing rather than incorrect data?

so then the issue isn’t that it’s not “blanking” the field (using “somewhere on Earth”), but it’s potentially getting data from multiple observations, and it should either cancel the requests associated with the other observations, or it should use only the results returned from the current observation.

---

<div class="post-metadata">

**Author:** ![pfau\_tarleton](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/pfau_tarleton/32/346_2.png) [@pfau\_tarleton](https://forum.inaturalist.org/u/pfau_tarleton)\
**Post date:** [July 10, 2021, 9:08pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/13 "2021-07-10T21:08:25Z")

</div>

For me, it’s also showing different locality levels (sometimes the county, sometimes the state, sometimes the country) and sometimes showing the locality as being the same as the previous locality. I reported that here before I saw this:  
[https://forum.inaturalist.org/t/in-identify-modal-place-suggestion-dropbox-sometimes-county-sometimes-country-sometimes-wrong/24644](https://forum.inaturalist.org/t/in-identify-modal-place-suggestion-dropbox-sometimes-county-sometimes-country-sometimes-wrong/24644)

---

<div class="post-metadata">

**Author:** ![jdjohnson](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jdjohnson/32/1456_2.png) [@jdjohnson](https://forum.inaturalist.org/u/jdjohnson)\
**Post date:** [February 18, 2022, 6:31pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/16 "2022-02-18T18:31:00Z")

</div>

I’ve run into this problem pretty frequently too. The Identify tools could really use some upgrades.

---

<div class="post-metadata">

**Author:** ![trscavo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/trscavo/32/3386_2.png) [@trscavo](https://forum.inaturalist.org/u/trscavo)\
**Post date:** [February 18, 2022, 7:00pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/17 "2022-02-18T19:00:35Z")

</div>

Yes, I’ve noticed this too. It seems that Google can’t keep up with iNat at times.

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [February 18, 2022, 7:02pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/18 "2022-02-18T19:02:28Z")

</div>

(I merged a few reports)

---

<div class="post-metadata">

**Author:** ![bernhard\_hiller](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bernhard_hiller/32/16896_2.png) [@bernhard\_hiller](https://forum.inaturalist.org/u/bernhard_hiller)\
**Post date:** [February 27, 2022, 8:10pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/19 "2022-02-27T20:10:25Z")

</div>

To me, it looks more like a “race condition”. The web site is “multi-threaded”. A request gets sent to the server, and while the browser is waiting for the reply, you’re clicking different things and thus send further requests, and somewhen the replies come back to your browser, but not in the order you would need them.  
From a software developer’s point of view, quite the naughtiest thing you could have to try to fix.  
Because everytime you try to repeat the issue, a little different timig is required, and reproduction fails… And of course, it does also depend on the JavaScript implementation of your browser. Infinite number of combinations possible.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [February 27, 2022, 8:36pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/20 "2022-02-27T20:36:49Z")

</div>

> [@bernhard\_hiller](#):
>
> To me, it looks more like a “race condition

yup.

> [@bernhard\_hiller](#):
>
> everytime you try to repeat the issue, a little different timig is required, and reproduction fails…

it’s possible to reproduce the issue fairly reliably. for example:

> [@pisum](#):
>
> i can see the cycling through countries if i throttle my connection in the network monitor. if i quickly cycle through A (country X), B (country Y), and C (no country), and i’ve blocked the request URL for C, then i do see C ends up country Y.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [March 29, 2022, 10:12pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/21 "2022-03-29T22:12:41Z")

</div>

Has anyone encountered this since [last week’s downtime](https://forum.inaturalist.org/t/up-to-8-hours-of-scheduled-downtime-march-22-23/30421)? I encountered it pretty often before that but I haven’t seen it happen since then and I’ve been going through observations pretty quickly in the past few days.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [March 30, 2022, 9:50pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/23 "2022-03-30T21:50:56Z")

</div>

That sounds like a different issue.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [March 31, 2022, 10:43pm UTC](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408/25 "2022-03-31T22:43:57Z")

</div>

Well I’m pretty sure the work we did during the last downtime fixed this, at least for now, so I’m going to close the report.

[Next page](https://forum.inaturalist.org/t/identify-modal-sometimes-shows-information-from-previous-observation/8408.md?page=2)
