Skip to content

Search API: doesn't return image_url for newly created dataset #11588

@ekraffmiller

Description

@ekraffmiller

After creating a dataset with an image file in the SPA, the search API does not return an image_url for the dataset.
It seems that an extra step is needed first, which happens when the logo is requested. This issue occurs even for a published unrestricted dataset, so it isn't related to permissions.

What steps does it take to reproduce the issue?

  1. Create a dataset with an image file in the SPA.
  2. Publish the dataset
  3. Go to the Collections page. The search API call for the Collections page returns the datasetPreview without a image_url property.
  4. Go to the JSF and view the Collections page. This triggers a call to datasets/{datasetId}/logo
  5. Go back to the Collections page in the SPA - now the image_url is returned in the datasetPreview for the page
  • When does this issue occur?
    With a Dataset that is created in the SPA

  • Which page(s) does it occurs on?
    Collections Page (search API)

  • What happens?
    image_url is not returned

  • To whom does it occur (all users, curators, superusers)?
    all users

  • What did you expect to happen?
    image_url should be returned for a thumbnail of the image file in the dataset

Screenshots:

SPA - search results with missing image_url
Image

View the Page in JSF
Image

Go back to SPA - now image_url appears in search results
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FY26 Sprint 22FY26 Sprint 22 (2026-04-22 - 2026-05-06)FY26 Sprint 23FY26 Sprint 23 (2026-05-06 - 2026-05-20)GREI Re-archIssues related to the GREI Dataverse rearchitectureOriginal size: 10SPAThese changes are required for the Dataverse SPASPA.Q2Not related to any specific Q2 featureType: Buga defect

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions