stable

Clone or download

Read-only

fix: do not mix version id with version number

Version number is not its identifier. The latter is unique accross the platform, the former is not (two different documents can have version number 1). This distinction is necessary to be able to implement REST route that will delete a specific version. No functional changes. Part of story #28263: edit office document stored in Document Change-Id: I534740122fc4dcae18199aae829492cee75c9e80

Modified Files

Name
M plugins/docman/include/REST/v1/Files/FileVersionRepresentation.php +10 −2 Go to diff View file
M plugins/docman/include/REST/v1/VersionRepresentationCollectionBuilder.php +1 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/VersionRepresentationCollectionBuilderTest.php +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.test.ts +7 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistoryContent.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContent.test.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContent.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file