ArctosDB / documentation-wiki

Arctos Documentation and How-To Guides
https://handbook.arctosdb.org
GNU General Public License v3.0
13 stars 13 forks source link

adding ID when a new name is just made in taxonomy is wonky #268

Open DerekSikes opened 2 years ago

DerekSikes commented 2 years ago

Issue Documentation is http://handbook.arctosdb.org/how_to/How-to-Use-Issues-in-Arctos.html

Describe the bug A clear and concise description of what the bug is.

Try to add an identification (eg Mimumesa mixta) to a record but the name isn't in taxonomy so...

First make the name in taxonomy: https://arctos.database.museum/name/Mimumesa%20mixta

then return to the record and try to add "Mimumesa mixta" but nothing is found.... however, if I leave off the last letter:

Mimumesa mixt

then it finds the record.

Expected behavior A clear and concise description of what you expected to happen.

Entering the full name of a species name just added & hitting tab should find that species name.

Priority Please assign a priority-label. Unprioritized issues get sent into a black hole of despair. high

dustymc commented 2 years ago

I don't have a solution. I don't think that form can realistically function without a cache, that's what this is hitting.

DerekSikes commented 2 years ago

The weird thing is that it's super fast if I leave off the last letter.

If I paste in the full name it fails. That doesn't sound like a cache issue.

-D

On Fri, May 13, 2022 at 3:12 PM dustymc @.***> wrote:

I don't have a solution. I don't think that form can realistically function without a cache, that's what this is hitting.

— Reply to this email directly, view it on GitHub https://github.com/ArctosDB/documentation-wiki/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNUM5PMTUE4OZEY3N6YZ3VJ3OWDANCNFSM5V4VU6DQ . You are receiving this because you authored the thread.Message ID: @.***>

--

+++++++++++++++++++++++++++++++++++ Derek S. Sikes, Curator of Insects, Professor of Entomology University of Alaska Museum (UAM), University of Alaska Fairbanks 1962 Yukon Drive, Fairbanks, AK 99775-6960 @.*** phone: 907-474-6278 he/him/his University of Alaska Museum https://www.uaf.edu/museum/collections/ento/

Interested in Alaskan Entomology? Join the Alaska Entomological Society and / or sign up for the email listserv "Alaska Entomological Network" at http://www.akentsoc.org/contact_us

DerekSikes commented 2 years ago

How was this resolved?

It's an unacceptable violation of human interface for a search form to fail to find results if the search term is a perfect match for a name in the database.

-Derek

On Mon, May 16, 2022 at 10:04 AM dustymc @.***> wrote:

Closed ArctosDB/documentation-wiki#268 https://github.com/ArctosDB/documentation-wiki/issues/268.

— Reply to this email directly, view it on GitHub https://github.com/ArctosDB/documentation-wiki/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNUMZC37MSVCQNBEZGJ7LVKKE2VANCNFSM5V4VU6DQ . You are receiving this because you authored the thread.Message ID: @.***>

--

+++++++++++++++++++++++++++++++++++ Derek S. Sikes, Curator of Insects, Professor of Entomology University of Alaska Museum (UAM), University of Alaska Fairbanks 1962 Yukon Drive, Fairbanks, AK 99775-6960 @.*** phone: 907-474-6278 he/him/his University of Alaska Museum https://www.uaf.edu/museum/collections/ento/

Interested in Alaskan Entomology? Join the Alaska Entomological Society and / or sign up for the email listserv "Alaska Entomological Network" at http://www.akentsoc.org/contact_us

dustymc commented 2 years ago

Reopening.

I'll need a lot more infrastructure, or we'll need to talk about what's available in the picks, or both, before I can do anything about this.

DerekSikes commented 2 years ago

Can you explain why a search on

Mimumesa mixt

finds a match with Mimumesa mixta but a search on

Mimumesa mixta

fails? It really seems like something bizarre is going on?

-Derek

On Mon, May 16, 2022 at 11:02 AM dustymc @.***> wrote:

Reopening.

I'll need a lot more infrastructure, or we'll need to talk about what's available in the picks, or both, before I can do anything about this.

— Reply to this email directly, view it on GitHub https://github.com/ArctosDB/documentation-wiki/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNUMZXGE7GPYD32IKHDC3VKKLS7ANCNFSM5V4VU6DQ . You are receiving this because you authored the thread.Message ID: @.***>

--

+++++++++++++++++++++++++++++++++++ Derek S. Sikes, Curator of Insects, Professor of Entomology University of Alaska Museum (UAM), University of Alaska Fairbanks 1962 Yukon Drive, Fairbanks, AK 99775-6960 @.*** phone: 907-474-6278 he/him/his University of Alaska Museum https://www.uaf.edu/museum/collections/ento/

Interested in Alaskan Entomology? Join the Alaska Entomological Society and / or sign up for the email listserv "Alaska Entomological Network" at http://www.akentsoc.org/contact_us

dustymc commented 2 years ago

That would only have been true for about an hour. Search for something, whatever happens (nothing found in this case) is just pulled from the cache regardless of the current state of the data until there's a refresh. A different search (missing a letter here) gets recorded as a new cache object.

DerekSikes commented 2 years ago

Ok, so you're saying that the reason the full name fails to find anything is because I had already searched using that full name before I discovered it was missing in the Taxonomy table? (which resulted in nothing found & that was cached).

So... maybe a rare situation? Maybe I should use the taxon name checker before doing this work & pre-create any missing names?

-Derek

On Mon, May 16, 2022 at 11:19 AM dustymc @.***> wrote:

That would only have been true for about an hour. Search for something, whatever happens (nothing found in this case) is just pulled from the cache regardless of the current state of the data until there's a refresh. A different search (missing a letter here) gets recorded as a new cache object.

— Reply to this email directly, view it on GitHub https://github.com/ArctosDB/documentation-wiki/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFNUM4V5BRWZUV5IUVOEPDVKKNT3ANCNFSM5V4VU6DQ . You are receiving this because you authored the thread.Message ID: @.***>

--

+++++++++++++++++++++++++++++++++++ Derek S. Sikes, Curator of Insects, Professor of Entomology University of Alaska Museum (UAM), University of Alaska Fairbanks 1962 Yukon Drive, Fairbanks, AK 99775-6960 @.*** phone: 907-474-6278 he/him/his University of Alaska Museum https://www.uaf.edu/museum/collections/ento/

Interested in Alaskan Entomology? Join the Alaska Entomological Society and / or sign up for the email listserv "Alaska Entomological Network" at http://www.akentsoc.org/contact_us

dustymc commented 2 years ago

saying

Yup.

rare situation

That's the idea, but it didn't take long for this to happen so maybe not. Lacking better ideas, I'll add a blurb about caching to the form.

sharpphyl commented 2 years ago

It happens frequently to us. We've learned to take off the last letter and let Arctos do a new search for the name.