zenodo / zenodo

Research. Shared.
https://zenodo.org
GNU General Public License v2.0
902 stars 240 forks source link

sandbox "Save draft" is not working #2513

Open abubelinha opened 7 months ago

abubelinha commented 7 months ago

Browser & OS (see also https://www.whatismybrowser.com/): Chrome 109 on Windows 10

Describe the bug

I cannot save draft depositions when using Sandbox.

Steps to Reproduce

  1. Go to sandbox.zenodo.org and login
  2. Start the process to create a new deposition
  3. Fill in only some of the required information (i.e. just the Title or whatever)
  4. Try to "Save draft"
  5. I get a "Record saved with validation errors:" (varies depending on which required fields are still pending) or a "Record successfully saved." (if I have at least uploaded a file, author and date)

Expected behavior

As per messages in step 5, this draft should already been saved, and so it should appear in this list: https://sandbox.zenodo.org/me/uploads?q=&l=list&p=1&s=10&sort=newest But it is not there. So if I close the browser tab where I did steps 1-4, my work is lost.

On the other hand, if I have filled in all the required fields and I click "Publish" instead of "Save draft", the deposition is correctly created (and it appears in the list).

Additional context

Might be related or not. Has the sandbox been reset again during the last few days?:

Thanks in advance for taking a look @abubelinha

davetromp commented 7 months ago

I have the same issue when using the API to create drafts. The draft that has been created can be retrieved by id using the API, but the draft is not showing in the 'My uploads' section of my dashboard when logged in to the zenodo webportal.

abubelinha commented 7 months ago

Thanks @davetromp for commenting. A few questions:

  1. I understand your draft is being saved, right? In my case, the webportal and API do not show it, but you see it is still there since you can access it later on through its url: https://sandbox.zenodo.org/uploads/upload_ID (of course you need first to take not of upload_ID from the API-upload response, or from the web UI editing url).
  2. Can you clarify whether your problem happens only in sandbox.zenodo.org (like me) or in production zenodo.org or in both?
  3. For the API, are you using any script or package that you can share? If it's Python I'd like to try that. I was using this fork of SiLeBAT/zenodo-python package that might be outdated (although it still worked for me last week -only tested in sandbox API-).
daniel-mohr commented 6 months ago

Since my similar issues #2516 and #2517 were described as being the same as this one, I'll give you some more input here:

It seems to affect only sandbox.zenodo.org. On zenodo.org I was able to create a new version in the web interface and the draft was listed in the My dashboard overview.

I have the same problem as @abubelinha and cannot test deploy2zenodo.

daniel-mohr commented 5 months ago

2516 and #2517 seems to be solved. But I do not have any confirmation.

abubelinha commented 5 months ago

Someone from my lab contacted them about this and they confirmed there was an issue with sandbox drafts. That was one month ago. So far, no notifications about it been solved.