IQSS / IQSS/dataverse

Uploading an Image resets the Dataverse Collection Theme form

Open
#12,669 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

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When editing a Dataverse collection theme and uploading an image after any unsaved change

  • Which page(s) does it occurs on?
    e.g. https://demo.dataverse.org/ThemeAndWidgets.xhtml?id=1997783

  • What happens?
    Uploading an image Thumbnail Image using the Upload Image File button resets the unsaved changes of other fields

  • To whom does it occur (all users, curators, superusers)?
    Dataverse collection administators (Admin) or any role with EditDataverse permission.

  • What did you expect to happen?
    Leave the other modification unchanged.

Which version of Dataverse are you using?
Tested on v. 6.11 build master-dd1859d (https://demo.dataverse.org)

Any related open or closed issues to this bug report?
#10194 for SPA frontend testing as not implemented in the modern UI

Screenshots:

https://github.com/user-attachments/assets/4e4f0592-aaa6-4b81-a56f-22e305a44465

Are you thinking about creating a pull request for this issue?
No, unfortunately.

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

Start at the ThemeAndWidgets.xhtml page named in the report and reproduce the issue by changing another field before using Upload Image File. Trace the form and upload handling to identify why unsaved values are reset. Done means the thumbnail uploads while other unsaved theme changes remain intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.