stable

Clone or download

Read-only

List metadata without multiple values 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: I75a8584ddaa2fa42606f7d97b8c3977b6f87b9af

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 +20 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.vue +7 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListSingleValue.spec.js +151 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataListSingleValue.vue +70 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.js +10 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.spec.js +78 −0 Go to diff View file