Commit 512e97f
Added Dataset.getGlobalIdForFileStorage for direct upload URLs that support legacy lowercase DOIs (#12268)
* Added Dataset.getGlobalIdForFileStorage which gives the global ID in the original casing, so it does not uppercase
DOIs. It is called when generating the upload URLs for direct upload instead of using dataset.getGlobalId().asString().
The latter gave a mismatch between the complete URL and the actual object keys in object store when DOIs contained
lowercase letters (which is possible when they were created before Dataverse started enforcing uppercase DOIs).
* release note
* Update release notes for S3 direct upload fix
Clarified the issue addressed with S3 direct upload regarding PID authority and alternative identifiers.
* Renamed Dataset.getGlobalIdForFileStorage() to Dataset.getGlobalIdForFileStorageAsString() to clarify that it does not return a GlobalId object
---------
Co-authored-by: qqmyers <jim.myers@computer.org>1 parent 6658f45 commit 512e97f
4 files changed
Lines changed: 7 additions & 2 deletions
File tree
- doc/release-notes
- src/main/java/edu/harvard/iq/dataverse
- api
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
665 | 669 | | |
666 | 670 | | |
667 | 671 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1706 | 1706 | | |
1707 | 1707 | | |
1708 | 1708 | | |
1709 | | - | |
| 1709 | + | |
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2798 | 2798 | | |
2799 | 2799 | | |
2800 | 2800 | | |
2801 | | - | |
| 2801 | + | |
2802 | 2802 | | |
2803 | 2803 | | |
2804 | 2804 | | |
| |||
0 commit comments