stable

Clone or download

Read-only

Multiple list value metadata are inherited from parent in new item creation

part of story #12634 Add custom metadata in modal How to test: - create documents into a folder who does not have default custom metadata => item are created - create documents into a folder who have custom metatada => default values are inherited at creation This patch is big enough following points will be done in a dedicated commit - new folder does not have custom metadata - creation of file by drag and drop does not inherit parent metadata - required is not enforced by REST route, yet Change-Id: Ic9c53285bcfea34a9969234f7c6503de9ef02c98

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.spec.js +26 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.vue +9 −3 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListMultipleValue.spec.js +197 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListMultipleValue.vue +83 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.js +10 −6 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.spec.js +53 −7 Go to diff View file