Skip to content

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

@jknelsonPSU

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.

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