-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Access API not working for unpublished file -- even with key #2719
Comments
OK, the symptoms are pointing to this being a problem with an API key-based access. |
Yes... It is a problem with the API key auth... Introduced in one of the last commits in 4.2.1. |
I would like to see a new patch release (4.2.2) instead of single class file fixes. |
Sure, of course. |
I committed a fix. Kevin and I will be testing it some more tomorrow. |
I understand, @landreev, but it seems like a really bad idea to replace classes in production, because it may cause other bugs, just like not testing caused this actual bug. If you really think you can fix bugs quickly, I prefer that they are part of releases, however small they may be. Then go the way of Continuous Deployment. In any case: test properly before deploying fixes/single-class patches/releases. Of course I'm repeating myself here :) |
Tested prior use cases both with session and with key and it is working. Will have Raman verify before closing. |
You are @bencomp, you really are. :) |
@kcondon, I verified this as working on https://dataverse-internal.iq.harvard.edu/ |
OK, so the production servers have been patched with this fix, as of last night. Which has solved the urgent problem this was causing, for these users and their presentation. |
I meant "we now have time to do it properly"; as opposed to having to do it in a hurry and introduce even more bugs on account of that... |
OK, verified both session and key work for downloading an unpublished and published file. Closing. |
Problem/Symptom
For the genTB project, this TwoRavens page is no longer working:
Bug
The failure point is the Dataverse API, particularly this call which returns a 403-Forbidden:
This is for a file in an unpublished Dataverse ( Tuberculosis Dataverse > Strain and host phenotype). The TwoRavens page has functioned for months until the last patch for 4.2.1.
The text was updated successfully, but these errors were encountered: