IQSS / IQSS/dataverse

"File Citation" view not updated after minting of PID for files

Open
#9,934 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: JSF Feature: Metadata Type: Bug User Role: Depositor UX & UI: New React UI
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?

  • 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?

Screenshots:

  • here you see, how "File Citation" looks like after the registration of file PID:
issue-dataverse-file-citation-block-not-updated-after-file-pid-minting
  • 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:
issue-dataverse-file-citation-block-not-updated-after-file-pid-minting-after-publication

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.