stable

Clone or download

Read-only

Date 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 which does not have default custom metadata => item are created - create documents into a folder which 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: Idcb892500e3f1b2983089c3e6ae5182fbaf2db55

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 +25 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.vue +9 −1 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataDate.spec.js +76 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataDate.vue +68 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.js +13 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.spec.js +60 −3 Go to diff View file