Skip to content

Basic search query hangs without completing #38

Open

Description

@stryker-m

reported by Jennifer Fraterrigo at UIllinois: "I have noticed problems when I perform some basic searches. For example, when I perform a basic search for records of Pinus strobus, the page tries to load but never finishes. However, when I use the advanced search tool and specify a dataset type (e.g., pollen), then the page loads. I hope this information helps improve the website."

Activity

  1. stryker-m commented on Apr 19, 2020

    @stryker-m
    ContributorAuthor

    Basic Request requires an abundance input parameter. Testing with > 3% for Pinus strobus returns a divide by zero error. Search terms and response: search: {"taxa":{"taxonIds":["697"],"abundance":{"minPercent":"3"}},"time":null}

    {"success":0,"message":"Divide by zero error encountered."}

    Similar search in Advanced pane does not require abundance.
    Search terms: {"taxa":{"taxonIds":["697"]},"time":null,"space":null,"metadata":null,"datasetTypeId":""}
    Response: data for 294 sites

    To do: (1) handle failed query response to prevent Explorer from hanging; (2) debug search query with abundance selection that produces divide by zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions