Files and folders are duplicated inside a renamed folder after renaming two folders (case sensitive)
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
- Create two folders on the root: testX and test
- Create folders and upload files inside this two folders
- Rename test to testx
- Then you select to rename the first folder from testX to test
- Acces to testx, and files and folders duplicated
- 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
@icewind1991 can you reproduce? maybe with a test?
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!