Skip to content
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

IQSS/10268 fix thumbnail selection logic #10269

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Jan 25, 2024

What this PR does / why we need it: See the issue for the description of the bug being fixed.

Which issue(s) this PR closes:

Closes #10268

Special notes for your reviewer: FWIW - I don't think we have any other way to see of there's an uploaded logo than to check and see if it exists. If there's any db mechanism, we could check that instead.

Suggestions on how to test this: See the issue -create a new dataset with no datafiles/datafiles that only use default icons, upload a separate dataset logo. The old code would only show the default dataset icon in the list of datasets on the front page, with this PR you'll see the logo.

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?:

Additional documentation:

@qqmyers qqmyers added the Size: 3 A percentage of a sprint. 2.1 hours. label Jan 25, 2024
@coveralls
Copy link

Coverage Status

coverage: 20.14% (-0.002%) from 20.142%
when pulling 2f089b2 on QualitativeDataRepository:IQSS/10268-fix-thumbnail-selection-logic
into e9215e3 on IQSS:develop.

@landreev landreev self-requested a review January 25, 2024 17:43
@landreev landreev self-assigned this Jan 25, 2024
Copy link
Contributor

@landreev landreev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.
Thank you, Jim!

@landreev landreev removed their assignment Jan 25, 2024
@sekmiller sekmiller self-assigned this Jan 25, 2024
@sekmiller sekmiller merged commit 274c6f0 into IQSS:develop Jan 25, 2024
11 checks passed
@pdurbin pdurbin added this to the 6.2 milestone Jan 27, 2024
atniph pushed a commit to dsd-sztaki-hu/dataverse that referenced this pull request May 17, 2024
The issue is partly fixed by the following commits, which are already part of the v6.2 release:
IQSS#10269
IQSS#10258

Had to add "dataset.setUseGenericThumbnail(false);" line in the DatasetServiceBean to make it work.
@qqmyers qqmyers deleted the IQSS/10268-fix-thumbnail-selection-logic branch May 17, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 3 A percentage of a sprint. 2.1 hours.
Projects
Status: Done 🧹
Development

Successfully merging this pull request may close these issues.

Dataset thumbnail not applied in some cases
5 participants