core icon indicating copy to clipboard operation
core copied to clipboard

WebDAV - Multilang files - Create new versions

Open dsilvam opened this issue 10 years ago • 6 comments

WebDAV User should be able to upload different files with the same path and name on different sessions with different languages.

For instance:

-Start session in english. Upload file /test/myimage.png -Start session in spanish. Upload file /test/myimage.png (this would create a new version of the fileasset created in the previous step in the new language. It is currently alerting that the file already exists)

dsilvam avatar Jun 30 '16 17:06 dsilvam

@dsilvam this is correct

wezell avatar Jun 30 '16 17:06 wezell

PR https://github.com/dotCMS/core/pull/9324

erickgonzalez avatar Jul 05 '16 17:07 erickgonzalez

Additional doc added to cover the updating aspect of multilingual folder connections: http://auth.dotcms.com/docs/latest/upload-and-edit-via-webdav#Multilingual

DeanGonzalez avatar Jul 06 '16 22:07 DeanGonzalez

Still needs work. Using Cyberduck when you upload first a file in English and then the version in the other language(ES), it does create the 2 versions of the file, but when you upload first the version in the other language (ES) and then the version in English, it seems that it's not finding the identifier: https://gist.github.com/shaydotcms/82b0dc0ad4fd8ca2cabcf9939c5450d8

shaydotcms avatar Jul 07 '16 20:07 shaydotcms

Second PR: https://github.com/dotCMS/core/pull/9337

dsilvam avatar Jul 07 '16 20:07 dsilvam

Passed QA in Cyberduck, new version of multilingual files are created. Pending test on Finder due to issue #9334 Tested locally in: master-3.6 // Ubuntu 14.04.1 // MySQL 5.5.43 // Chrome master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox

shaydotcms avatar Jul 08 '16 20:07 shaydotcms