stable

Clone or download

Read-only

Status is inherited at new item creation

part of story #13589 Update hardcoded metadata How to test: Have a folder with custom status Create a new item inside => status is selected in the modal Have a folder without status => None is selected in new item modal Please note that: - modal for current folder, modal from tree view and modal from quicklook should all be tested - please test new folder and new item modals Change-Id: Iac5cf61f1867cf7cebbcc42e0c7b9937cc65def8

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/DocumentGlobalMetadataForCreate.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentCreate.spec.js +71 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentCreate.vue +10 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentUpdate.spec.js +2 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentUpdate.vue +7 −15 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderDefaultPropertiesForCreate.vue +3 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderGlobalMetadataForCreate.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderCreate.spec.js +71 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderCreate.vue +10 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderUpdate.spec.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderUpdate.vue +10 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/StatusMetadata.vue +5 −13 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateFolderMetadataModal.vue +1 −1 Go to diff View file
R plugins/document/scripts/document/helpers/metadata-helpers/update-data-transformatter-helper.js Go to diff View file
A plugins/document/scripts/document/helpers/metadata-helpers/data-transformatter-helper.spec.js +151 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/hardcoded-metadata-mapping-helper.js +16 −0 Go to diff View file
M plugins/document/scripts/document/helpers/metadata-helpers/hardcoded-metadata-mapping-helper.spec.js +16 −2 Go to diff View file
D plugins/document/scripts/document/helpers/metadata-helpers/update-data-transformatter-helper.spec.js +0 −49 Go to diff View file