"File Citation" view not updated after minting of PID for files
Nobody has claimed this yet.
- 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?
- after registration of File-PID via "registerDataFile" - https://guides.dataverse.org/en/5.13/admin/dataverses-datasets.html#mint-a-pid-for-a-file-that-does-not-have-one
-
Which page(s) does it occurs on?
- page with the file description, where on top you have "File Citation" and "Dataset Citation" blocks (views)
-
What happens?
- the block "File Citation" will stay without changes after the successful reservation of PID for the file
-
To whom does it occur (all users, curators, superusers)?
- all users
-
What did you expect to happen?
- I expect to see changed "File Citation" block with the PID for this file and with a file name in front directly after the author name and year. Such a changed block will come ONLY after the proper publication of the dataset - you will have "File Citation" with a PID for file and file-name on the beginning of the block; and "Dataset Citation" will stay without changes, because it already had the PID for dataset even before the proper publication.
- looks like some update of the "File Citation" block after the successful run of "registerDataFile" is extra needed (what maybe happens after the proper publication of the dataset)
Which version of Dataverse are you using?
- 5.13, but looks like for 6.0 it is also actual
Any related open or closed issues to this bug report?
- general PR for File PIDs: https://github.com/IQSS/dataverse/pull/7334
Screenshots:
- here you see, how "File Citation" looks like after the registration of file PID:
- and here you see, how "File Citations" looks like after the proper publication - so, a correct view. Such information (such view) should be also presented on the "Draft" state, when PID for the file was minted successfully:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the registerDataFile flow in Dataverse 5.13 or later, then inspect the file description page where the File Citation and Dataset Citation blocks are rendered. The issue names no source file or test; done means the File Citation updates immediately after a file PID is reserved, while the Dataset Citation remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100