-
Notifications
You must be signed in to change notification settings - Fork 488
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
Native API doesn't show Categories or File Tags (at least for "FITS file" and "Image file") #3067
Comments
@raprasad does this happen for all file tags or only fits? |
As far as I can tell, all tags. Including |
This was requested in https://groups.google.com/d/msg/dataverse-community/obUKSqR4GRA/MWKo7bb1EgAJ and the fix is trivial, I think, so I went ahead and made pull request #3553. I'll put this in Code Review at https://waffle.io/IQSS/dataverse |
Here's how I tested locally, with a dataset that has two files, one with tags and one without tags:
|
OK, since I have worked both on the branch 2290, and was talking to Phil as he was working on this task (adding the categories and tags); so it was easy to review. The non-trivial part about the logistics of handling this issue is that while the issue is "in review" on waffle, there is no pull request for it yet. Since Phil added this fix to the 2290 branch; and 2290 is still being finished. So I can't formally review it on github yet. So Phil and I agreed that I'll move the issue back into dev., and then, when Steve and Raman make a pull request for the 2290 branch, he'll link this issue to that PR and move it into QA... |
OK, working. Closing. |
@kcondon as I mentioned, there's a harvesting component that could be tested. Please see this comment for details: #3067 (comment) |
@pdurbin json harvest is failing, ddi and dc work |
Huh, I only tried JSON harvesting and I just got the stacktrace below as of e8dd342 when I click the "Run Harvesting" button. This may have been pulling the latest without doing a clean and build. Let me restart Glassfish and play with this some more.
|
I just tested harvesting file tags specifically (I'm still on e8dd342 ) and that seems to work too. Here's a screenshot: I guess the thumbnails themselves aren't harvested, which is why they probably show as broken images above. This is what it shows in the log:
|
This is working, was a config issue involving certs and siteUrl setting that needed to be documented. Closing. |
With a self signed cert, this was the error I saw on my laptop in glassfish/domains/domain1/logs/harvest_tab_2017-01-27T11-51-33.log
|
Dataset with FITS file tag:
https://dataverse.harvard.edu/dataset.xhtml?persistentId=hdl:10904/10065
API call used: https://dataverse.harvard.edu/api/datasets/:persistentId?persistentId=hdl:10904/10065
See this gist for resulting JSON w/o
FITS file
and `Image file`` tags:https://gist.github.com/raprasad/1387646984f7c8402278d69f793e5379#example-fits-file
The text was updated successfully, but these errors were encountered: