Skip to content

V1.5 Downloads Endpoint Fails If Dataset Has No Submission Date #88

Description

@jknelsonPSU

Example:
See endpoint https://api.neotomadb.org/v1.5/data/Downloads/10495.

Code Reference:
At line 133 of v1.5/handlers/data_handlers.js, t.one() expects a result, however, cases exist where datasets do not have a submission date. In these instances, the query fails, no data are returned, and explorer hangs.

Activity

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