core icon indicating copy to clipboard operation
core copied to clipboard

file with same name uploaded via web interface, undesired results

Open 4bendo opened this issue 13 years ago • 5 comments

Expected behaviour

File with same name is uploaded by web interface. when user selects replace, old file is replaced with new one.

Actual behaviour

Old file is not replaced, and a new file is created with (2) in the name.

Steps to reproduce

  1. install OC 506
  2. install win7 client 1.3.0beta1
  3. upload file by web interface, wait for file to populate via sync client to client machine.
  4. create new file with same name and upload by web interface, make sure to click "replace". see new file (2) created in client sync folder and web interface, and (2) file is not in server file system.

Server configuration

Operating system: win8

Web server: iis8

Database:mysql

PHP version:5.3

ownCloud version:5.0.6

Client configuration

Client version: 1.3.0beta1

Operating system: win7

OS language: english

Installation path of client: default

4bendo avatar May 24 '13 17:05 4bendo

cc @icewind1991 Your department?

MorrisJobke avatar May 28 '13 12:05 MorrisJobke

Related to this issue, I have detected in version owncloud5.0.6.beta_enterprise that when user selects "cancel", appears a new file (2) in client and web interface.

Server configuration Operating system: Ubuntu 12.04 Web server: Apache Database: SQLite or MySQL PHP version: 5.3.10 ownCloud version: 5.0.6_beta_enterprise

Client configuration Browser: any browser Windows 7

fernandoruiz avatar Jun 04 '13 13:06 fernandoruiz

Still in 5.0.10 and nobody seems to care.

csware avatar Aug 16 '13 10:08 csware

Can you try again with 5.0.13 ? I just tried replacing a file with an existing name and it will create a second file with "(2)" appended. On OC6 it will show a file conflict dialog.

PVince81 avatar Nov 11 '13 14:11 PVince81

This issue is old and as mentionned before this works as expected, closing. Feel free to reopen if you're experiencing issues with 5.0.14a or 6.0.1. Thanks.

PVince81 avatar Feb 07 '14 16:02 PVince81