stable
Clone or download
Read-only
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: Ia2dd26f4b7203da75daf907ef04ae1ac38fbb631
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/app.spec.js | +2 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.spec.js | +67 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadata.vue | +9 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataString.spec.js | +74 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataString.vue | +47 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataText.spec.js | +2 | −2 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Metadata/CustomMetadata/CustomMetadataText.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.js | +16 | −9 | Go to diff View file |
M | plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.spec.js | +27 | −0 | Go to diff View file |