gigascience / gigadb-website

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

blank screen and failure to create mockup #2033

Open only1chunts opened 1 week ago

only1chunts commented 1 week ago

On the recent dataset uploaded 102585 #49 I made all the updates as required in the dataset admin page (added my username, the MS ID, the thumbnail image, release date, set status to "Submitted" etc..) clicked save. All fine, everything saved as expected. I then clicked "create /reset private URL" button to generate the mockup link- it did this:

image

I then went back and tried several changes, eventually I discovered that the Status of "Submitted" was the issue! As soon as I changed that to "Curation" the create/reset button worked as expected.

User story

As a curator I want to be able to create or reset the private mockup URL when the dataset status is "Submitted" So that I can share the private link with people.

Acceptance criteria

Given I am on the dataset Admin page of any dataset with a status of anything EXCEPT "Published" When I look at the bottom of the page Then I should see a create/reset private URL button And when I click that button it does create or reset the private URL for that dataset.

Given I am on the dataset Admin page of any dataset with status "Published" When I look at the bottom of the page Then I should NOT see a create/reset private URL button NB - This is already the case, I'm just making sure its clear here that it is correct.

Additional Info

Product Backlog Item Ready Checklist

Product Backlog Item Done Checklist