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

fix: map jsDataset.id and persistentId in JSDatasetMapper.toHierarachy() #404

Conversation

ekraffmiller
Copy link
Contributor

@ekraffmiller ekraffmiller commented May 21, 2024

What this PR does / why we need it:
fix the mapping of Hierarchy in the getDataset() usecase
Which issue(s) this PR closes:

Closes #403

Special notes for your reviewer:
I think this is the fix that is needed rather than IQSS/dataverse-client-javascript#154.

Suggestions on how to test this:
In the SPA, create a Dataset, then go to File Upload page. The Dataset Breadcrumb on the File upload page should have the correct link.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@ekraffmiller ekraffmiller marked this pull request as ready for review May 21, 2024 21:06
@ekraffmiller ekraffmiller added pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 3 A percentage of a sprint. 2.1 hours. labels May 21, 2024
@g-saracca g-saracca self-assigned this May 22, 2024
Copy link
Contributor

@g-saracca g-saracca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ekraffmiller , nice catch! I am directly mergin this into the feature branch!

@g-saracca g-saracca merged commit e5b6780 into feature/380-extend-breadcrumbsgenerator-for-action-items May 22, 2024
10 of 13 checks passed
@g-saracca g-saracca deleted the fix/403-jsdataset-to-hierarchy branch May 22, 2024 11:57
jayanthkomarraju pushed a commit to jayanthkomarraju/dataverse-frontend that referenced this pull request May 31, 2024
fix: map jsDataset.id and persistentId in JSDatasetMapper.toHierarachy()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 3 A percentage of a sprint. 2.1 hours.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants