-
Notifications
You must be signed in to change notification settings - Fork 531
update dvObject featured item response #11552
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
update dvObject featured item response #11552
Conversation
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@stevenwinship were you able to see what was going on with the following:
|
This comment has been minimized.
This comment has been minimized.
|
Thanks @stevenwinship things are now working as expected after testing with Postman 👍🏼 |
This comment has been minimized.
This comment has been minimized.
GPortas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good overall. I’ve just left a couple of small suggestions.
src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java
Outdated
Show resolved
Hide resolved
src/test/java/edu/harvard/iq/dataverse/api/DataverseFeaturedItemsIT.java
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
|
Hi @stevenwinship, @ChengShi-1 pointed out another issue that I believe is a bug. It appears the API is allowing us to feature a file from a dataset that hasn't been published yet. |
|
📦 Pushed preview images as 🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
src/main/java/edu/harvard/iq/dataverse/dataverse/featured/DataverseFeaturedItem.java
Show resolved
Hide resolved
|
looks good to me, merging |
What this PR does / why we need it: For the SPA, we need the specific Dataverse object identifiers. This could be the collection alias, the full DOI of a dataset, or a file ID.
Which issue(s) this PR closes:#11550
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?: Included
Additional documentation: