stable

Clone or download

Read-only

Version title and changelog must not mutate properties

part of request #18402 Convert document plugin into typescript How to test: Create new versions of - file - embbeded - link Version title and changelog are correctly stored Note: Other mutated props of ItemUpdateProperties will be handled in dedicated patchset (one for lock, one for approval tables) Change-Id: Ib72e0c230e40ca56238a539b442e57c92f34896a

Modified Files

Name
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmbeddedFileModal.test.js +81 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionEmbeddedFileModal.vue +13 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.test.js +82 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.vue +13 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionLinkModal.test.js +82 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionLinkModal.vue +13 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileVersionChangelogModal.test.js +23 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileVersionChangelogModal.vue +14 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PropertiesForUpdate/ItemUpdateProperties.vue +8 −2 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/ChangelogProperty.test.ts +47 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/ChangelogProperty.vue +9 −1 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/VersionTitleProperty.test.ts +44 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/VersionTitleProperty.vue +9 −1 Go to diff View file
M plugins/document/scripts/document/helpers/emitter.ts +2 −0 Go to diff View file