gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
9 stars 14 forks source link

An error statement shows when try to remove files in admin page #2015

Open YFan0019 opened 1 month ago

YFan0019 commented 1 month ago

Describe the bug An error shows up when click the delete button in the "Dataset:Files" admin page

To Reproduce Steps to reproduce the behavior:

  1. Go to https://gigadb.org/adminFile/admin
  2. Search for the files that I want to remove
  3. Click on the delete button
  4. See the error window shows up, but the function still works.

Expected behavior Please check the cause and remove the error.

Screenshots

截屏2024-08-22 10 11 18

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

rija commented 1 month ago

This is likely an error thrown by the Yii framework because of the wrong method being used (GET instead of POST)