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

Changes in file do not show up in File version history #11142

Open
janvanmansum opened this issue Jan 9, 2025 · 1 comment · May be fixed by #11145
Open

Changes in file do not show up in File version history #11142

janvanmansum opened this issue Jan 9, 2025 · 1 comment · May be fixed by #11145
Labels
Type: Bug a defect

Comments

@janvanmansum
Copy link
Contributor

What steps does it take to reproduce the issue?

  1. Create a dataset with one file, e.g., "A.txt"
  2. Publish the dataset
  3. Replace "A.txt" with "B.txt" with different content.
  4. Publish the dataset
  5. Open the file details for the file and go to the Versions tab
  • When does this issue occur?
    AFAICS always

  • Which page(s) does it occurs on?
    The File version history

  • What happens?
    Differences are not displayed, instead the Summary read "No changes associated with this version".

Note that the difference does show up in the dataset difference viewer.

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

  • What did you expect to happen?
    The difference in content and metadata should be displayed, the same as in the Data

Which version of Dataverse are you using?
6.3

Any related open or closed issues to this bug report?
No

Screenshots:

Instead of A.txt and B.txt I have used "core.jpg" and "space-galaxy.jpg":

image

The dataset difference viewer correctly displays the differences:

image

Are you thinking about creating a pull request for this issue?
Possibly, it is not a high priority though.

@janvanmansum janvanmansum added the Type: Bug a defect label Jan 9, 2025
@pdurbin
Copy link
Member

pdurbin commented Jan 9, 2025

@janvanmansum thanks for opening this issue. If you (or anyone else reading this) has the time, I'm curious if the bug is also present in the new API that does the same thing, that shows differences with files. It was added in this PR for 6.5:

Here are the docs: https://guides.dataverse.org/en/6.5/api/native-api.html#compare-versions-of-a-dataset

Here's how the new API endpoint is used in the new React UI:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug a defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants