IQSS / IQSS/dataverse

Dataset logos are uploaded but not stored in the database

Open
#11,579 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Description

When a user uploads an image to be used as a dataset logo, the file is correctly uploaded (generating dataset_logo.thumb140, dataset_logo.thumb48, and dataset_logo_original), but no information is saved in the database about the uploaded file.

This can lead to several issues:

  • It's impossible to detect missing or corrupted files (no DB record to verify integrity).
  • Difficult maintenance or migration (no link between DB and files).
  • Security concern: no way to check if a file has been altered.
Suggested improvement:

Store metadata about the uploaded image in the database, such as:

  • MD5 hash (or other file fingerprint),
  • Upload timestamp,
  • Possibly the original file name.

This would improve the robustness and traceability of dataset logo management.

Are you thinking about creating a pull request for this issue?

Our organization does not currently plan to address this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing the dataset logo upload flow and the persistence model used for uploaded files, then determine how database metadata and schema changes are handled. Done means each uploaded dataset logo has stored metadata that can be used to relate and verify the generated files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.