"id": 3,
"versionNumber": "2.1",
"summary": {
"files": {
"added": 0,
"removed": 0,
"replaced": 0,
"changedFileMetaData": 2,
"changedVariableMetadata": 0
},
"termsAccessChanged": false
},
"contributors": "Dataverse Admin",
"publishedOn": "2025-10-22"
}
When I tested PR #11859 , I noticed that the count of files with metadata changes was always 2. However, this behavior wasn’t introduced by the PR, since it also occurs with JSF and the original API before this change.
What steps does it take to reproduce the issue?
/api/v1/datasets/:persistentId/versions/compareSummary?persistentId=..., "changedFileMetaData": 2 rather than the correct count 4When does this issue occur?
When you changed files' metadata, the count always show 2
Which page(s) does it occurs on?
dataset page > version tab
What happens?
Screen Recording on how it happens here
https://github.com/user-attachments/assets/387bb893-770f-4c45-bd48-d6b7fb8e9028
To whom does it occur (all users, curators, superusers)?
all users
What did you expect to happen?
count right number of changes on file metadata
Other Related issue
Dataset compareSummary API: version summary should show tags changes #11663 (comment)
Which version of Dataverse are you using?
DEV branch