clowder-framework / clowder

A data management system that allows users to share, annotate, organize and analyze large collections of datasets. It provides support for extensible metadata annotation using JSON-LD and a distribute analytics event bus for automatic curation of uploaded data.
https://clowderframework.org/
University of Illinois/NCSA Open Source License
35 stars 17 forks source link

error adding dataset to collection #306

Closed robkooper closed 2 years ago

robkooper commented 2 years ago

Describe the bug When trying to add a dataset to a collection there is an error:

https://server/api/collections/datasetPossibleParents/undefined?when=550867c9e4b0d15bd2a0d758&date=5

issue probably is the undefined in the url

To Reproduce Steps to reproduce the behavior:

  1. Go to a dataset
  2. Click on box to select collection
  3. See error
tcnichol commented 2 years ago

I fixed a similar bug for adding dataset to spaces with this pull request:

https://github.com/clowder-framework/clowder/pull/275

the fix here would probably be about the same.