Skip to content

In ExportDataProvider, add directoryLabel (file path) to getDatasetFileDetails#11618

Merged
ofahimIQSS merged 5 commits intoIQSS:developfrom
univiedev:issue-10523
Aug 19, 2025
Merged

In ExportDataProvider, add directoryLabel (file path) to getDatasetFileDetails#11618
ofahimIQSS merged 5 commits intoIQSS:developfrom
univiedev:issue-10523

Conversation

@univiedev
Copy link
Contributor

@univiedev univiedev commented Jul 8, 2025

What this PR does / why we need it:

Which issue(s) this PR closes:

Special notes for your reviewer:

None.

Suggestions on how to test this:

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

No.

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

Yes, included.

Additional documentation:

None.

Related discussion:

https://dataverse.zulipchat.com/#narrow/channel/375707-community/topic/Dataverse4ever/near/525536843

@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Jul 8, 2025
@pdurbin pdurbin changed the title getDatasetFileDetails method has been corrected In ExportDataProvider, add directoryLabel (file path) to getDatasetFileDetails Jul 8, 2025
@ofahimIQSS ofahimIQSS added the Size: 3 A percentage of a sprint. 2.1 hours. label Jul 8, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for Triage to Ready for Review ⏩ in IQSS Dataverse Project Jul 8, 2025
@cmbz cmbz added the FY26 Sprint 1 FY26 Sprint 1 (2025-07-02 - 2025-07-16) label Jul 11, 2025
@stevenwinship stevenwinship self-assigned this Jul 15, 2025
@stevenwinship stevenwinship moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Jul 15, 2025
JsonArrayBuilder jab = Json.createArrayBuilder();
for (FileMetadata fileMetadata : dv.getFileMetadatas()) {
// this is to be added in the end json...
fileMetadata.getDirectoryLabel();
Copy link
Contributor

Choose a reason for hiding this comment

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

This code does nothing. It can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i have overseen that, thanks for pointing out- i removed the lines

@coveralls
Copy link

coveralls commented Jul 15, 2025

Coverage Status

coverage: 23.219% (+0.008%) from 23.211%
when pulling ada4858 on univiedev:issue-10523
into 1c31486 on IQSS:develop.

@github-project-automation github-project-automation bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Jul 15, 2025
@pdurbin pdurbin moved this from Ready for QA ⏩ to In Review 🔎 in IQSS Dataverse Project Jul 15, 2025
@pdurbin pdurbin self-assigned this Jul 15, 2025
@pdurbin pdurbin added this to the 6.8 milestone Jul 15, 2025
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

I improved the release note and added a "how to test" section. Approved. Thanks, @univiedev! ❤️

@github-project-automation github-project-automation bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Jul 15, 2025
@cmbz cmbz added the FY26 Sprint 2 FY26 Sprint 2 (2025-07-16 - 2025-07-30) label Jul 17, 2025
@ofahimIQSS
Copy link
Contributor

Hello! I see branch conflicts - can you please update?

@cmbz cmbz added the FY26 Sprint 3 (2025-07-30 - 2025-08-13) label Jul 31, 2025
@pdurbin pdurbin added the Status: Merge Conflicts Merge conflicts must be resolved. label Aug 6, 2025
Conflicts:
src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java

InternalExportProviderTest was throwing an NPE for getDatasetVersion()
in the following line in JsonPrinter (added in 8a57fc8):

.add("lastUpdateTime", format(fileMetadata.getDatasetVersion().getLastUpdateTime()));
@pdurbin pdurbin removed the Status: Merge Conflicts Merge conflicts must be resolved. label Aug 7, 2025
@ofahimIQSS ofahimIQSS self-assigned this Aug 8, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Aug 8, 2025
@cmbz cmbz added the FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) label Aug 14, 2025
@ofahimIQSS
Copy link
Contributor

looks good from my end - merging PR.

@ofahimIQSS ofahimIQSS merged commit 111e091 into IQSS:develop Aug 19, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Aug 19, 2025
@ofahimIQSS ofahimIQSS removed their assignment Aug 19, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 1 FY26 Sprint 1 (2025-07-02 - 2025-07-16) FY26 Sprint 2 FY26 Sprint 2 (2025-07-16 - 2025-07-30) FY26 Sprint 3 (2025-07-30 - 2025-08-13) FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

directoryLabel (file path) missing from getDatasetFileDetails from ExportDataProvider

6 participants