-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c3f090
commit 82319e1
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
doc/release-notes/11130-update-dataverse-api-remove-metadatablocks.md
This file contains 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,8 @@ | ||
### Fixes consequences for not adding some optional fields in update dataverse API | ||
|
||
Omitting optional fields inputLevels, facetIds, or metadataBlockNames caused data to be deleted. | ||
This fix no longer deletes data for these fields. Two new flags have been added to the ``metadataBlocks`` Json object to signal the deletion of the data. | ||
- ``inheritMetadataBlocksFromParent: true`` will remove ``metadataBlockNames`` and ``inputLevels`` if the Json objects are omitted. | ||
- ``inheritFacetsFromParent: true`` will remove ``facetIds`` if the Json object is omitted. | ||
|
||
For more information, see issue [#11130](https://github.com/IQSS/dataverse/issues/11130) |