Skip to content

Conversation

@sekmiller
Copy link
Contributor

What this PR does / why we need it: Publishing was failing when separator was empty and didn't match the default separator

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this: create files with file PIDs disabled then enable file PIDs (curl -X PUT -d 'true' http://localhost:8080/api/admin/settings/:FilePIDsEnabled) you should be able to publish and get file PIDs assigned.

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:

@github-actions github-actions bot added FY25 Sprint 26 FY25 Sprint 26 (2025-06-18 - 2025-07-02) Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect labels Jun 26, 2025
@sekmiller sekmiller added this to the 6.7 milestone Jun 26, 2025
@sekmiller sekmiller moved this to Ready for Review ⏩ in IQSS Dataverse Project Jun 26, 2025
@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11546-pid-separator
ghcr.io/gdcc/configbaker:11546-pid-separator

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@pdurbin pdurbin requested a review from qqmyers June 27, 2025 18:44
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.

In the interest of keeping things moving I'm approving this. I didn't test it but the code looks ok to me. Also, API tests are passing.

@sekmiller did you check with @qqmyers about this fix? When he briefly went over #11546 during Triage Tuesday the other day, I was under the impression that he expected we'd need to add a Flyway script. I clicked "request review" from him, at least. 🤷

@github-project-automation github-project-automation bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project Jun 27, 2025
@sekmiller
Copy link
Contributor Author

The Flyway script would have been a bandaid and would not help in the case where files are created while file PIDs are not enabled, and an attempt was made to publish after file PIDs were enabled

@ofahimIQSS ofahimIQSS self-assigned this Jun 30, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Jun 30, 2025
@ofahimIQSS
Copy link
Contributor

fix looks good. Merging.

@ofahimIQSS ofahimIQSS merged commit 1c31486 into develop Jun 30, 2025
25 checks passed
@ofahimIQSS ofahimIQSS deleted the 11546-pid-separator branch June 30, 2025 20:18
@github-project-automation github-project-automation bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Jun 30, 2025
@ofahimIQSS ofahimIQSS removed their assignment Jun 30, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Jul 1, 2025
@cmbz cmbz added the FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) label Aug 16, 2025
ubkm added a commit to DataverseNO/dataverse that referenced this pull request Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY25 Sprint 26 FY25 Sprint 26 (2025-06-18 - 2025-07-02) FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

Publication fails with file PIDs enabled for some files

5 participants