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

Cannot remove a dataset from a space. #349

Closed MWesner3344 closed 1 year ago

MWesner3344 commented 2 years ago

Describe the bug The remove button does not work in the Spaces containing the Dataset section of a dataset page. The counter for the number of datasets in the space goes down but the dataset does not get removed from the space.

To Reproduce Steps to reproduce the behavior:

  1. Go to a dataset page where the dataset is contained in a space.
  2. Click on the remove button in Spaces containing the Dataset section.
  3. Refresh the page.
  4. Counter goes down but the dataset remains in the space.

Expected behavior The dataset should be removed from the space.

Screenshots image

Desktop (please complete the following information):

tcnichol commented 2 years ago

I am off today but I will be looking into this on Monday.

ddey2 commented 2 years ago

Hi @robkooper, I investigated the above issue. However, I am not able to reproduce the bug. When I click on Remove, it successfully delete the space and the dataset is no longer within the space.

Screen Shot 2022-08-02 at 4 06 56 PM Screen Shot 2022-08-02 at 4 07 04 PM
ddey2 commented 2 years ago

Actually if you go to the space, you can no longer see the dataset.

Screen Shot 2022-08-02 at 4 10 01 PM