-
Notifications
You must be signed in to change notification settings - Fork 543
Templates and Notifications API fixes #11704
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
Merged
ofahimIQSS
merged 19 commits into
develop
from
11703-return-isDefault-property-get-dataset-templates
Sep 5, 2025
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3836ea4
feat: add isDefault field to JSON output
g-saracca 42693d2
test: assert isDefault property
g-saracca c01e803
Merge branch 'develop' of github.com:IQSS/dataverse into 11703-return…
GPortas 6d22479
Fixed: null check in jsonTermsOfUseAndAccess for license
GPortas 45dfbc7
Added: unit tests for JsonPrinter.jsonTermsOfUseAndAccess
GPortas d744bf7
Added: unit tests for JsonPrinter.jsonTemplate
GPortas e346080
Fixed: marking default template in ListDataverseTemplatesCommand
GPortas 135d703
Merge branch 'develop' of github.com:IQSS/dataverse into 11703-return…
GPortas f5bbe94
Added: extended ListDataverseTemplatesCommand unit tests
GPortas 3f9b7f6
Changed: minor code format
GPortas 166f5fa
Fixed: isTemplateRoot being checked in ListDataverseTemplatesCommand
GPortas 8041907
Added: release notes for #11703
GPortas eeef609
Added: release note tweak
GPortas e96f1bd
Added: fileAccessRequest field of terms of use and access to JsonPrinter
GPortas 8adc6e1
Added: contactForAccess field to terms of use and access API payload
GPortas e5c170b
Fixed: InApp notifications API json printer missing null check for re…
GPortas 79b21a4
Changed: release notes updated
GPortas 2b050dd
Merge branch 'develop' of github.com:IQSS/dataverse into 11703-return…
GPortas 541fd21
Fixed: setting default template in CreateTemplateCommand
GPortas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
doc/release-notes/11703-notifications-and-templates-api-fixes.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Release Notes | ||
|
|
||
| ## Templates API fixes | ||
| - Added the missing `isDefault` field to the **Get Dataset Templates** API response. | ||
| - Added the missing `fileAccessRequest` field of terms of use and access to the **Get Dataset Templates** API response. | ||
| - Added the missing `contactForAccess` field of terms of use and access to the **Get Dataset Templates** API response. | ||
| - Resolved an API **500 error** that occurred when working with templates containing custom license terms. | ||
| - Updated API behavior so templates are **no longer returned from parent dataverses** when the "Include Templates from Root" option is unchecked in the UI. | ||
|
|
||
| ## Notifications API fixes | ||
| - Fixed API errors caused by NullPointerException when retrieving notifications without a requestor. | ||
|
|
||
| See #11704 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to make this recursive for multiple generations of owners? While dv.getOwner() != null...