Bug/DOCS-2454 No 'Edit' and 'Edit as new' in tool bar in e.g NextCloud storage
requested to merge bug/DOCS-2454_no-edit-and-editasnew-in-tool-bar-in-e-g-nextcloud-storage into develop
Implementation notes
The versions from the FilesAPI can't get the current state of the file.
Further informations: DOCS-2454
Root cause: Next-/OwnCloud don't return a file version id
Solution: If the number_of_versions is -1 the storage can't handle versions. The current_version is used.