core icon indicating copy to clipboard operation
core copied to clipboard

Files and folders are duplicated inside a renamed folder after renaming two folders (case sensitive)

Open purigarcia opened this issue 13 years ago • 2 comments

Expected behaviour

The files and folders aren't duplicated inside the renamed folder "testx"

Actual behaviour

The files and folders are shown duplicate inside the folder "testx"

Steps to reproduce

  1. Create two folders on the root: testX and test
  2. Create folders and upload files inside this two folders
  3. Rename test to testx
  4. Then you select to rename the first folder from testX to test
  5. Acces to testx, and files and folders duplicated
  6. If you access to folder "testx" with other browser as Firefox, you can see that the files and folders are duplicated also

Server configuration

Using daily instance (http://daily.owncloud.com/master/owncloud)

ownCloud version: {"installed":"true","version":"6.0.0.2","versionstring":"6.0 beta 1","edition":""}

Client configuration

Browser: Firefox Operating system: MaOs 10.7.5

Web server error log

Error hook error while running hook (\OC\Files\Cache\Updater::renameHook): SQLSTATE[23000]: Integrity constraint violation: 19 columns storage, path_hash are not unique 2013-09-16T13:22:30+00:00

purigarcia avatar Sep 16 '13 13:09 purigarcia

@icewind1991 can you reproduce? maybe with a test?

butonic avatar Sep 16 '13 15:09 butonic

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Feb 26 '14 11:02 jancborchardt