5.0.3 Renaming -> Nothing happens
When I try to rename a file in the web-gui the file on the filesystem is not renamed, the gui name is renamed! When i reload the page, the filename in the gui returns to the old name. If i try to rename it again, i get a popup, that renaming is not possible.
@jancborchardt @Raydiation Can you look into that?
@ganomi is this a file in the shared folder, a file that was shared with you or anything else special? Can you check if it works with a simple .txt file created via the »New« button? Also, which browser and server do you use, and does it happen in Firefox or Chrome?
@jancborchardt ok, i have tried a few things. it works as it should via the »New« button. It does not work in the following case: Use Mirall 1.2.3. Create a new folder on the server via the mirall wizard. Put a file into the new shared folder locally. let it upload to the server via sync. then the problem occurs.
(Also see my referenced issue above. it is also a problem with renaming, but on the client-side. maybe it has to do something with each other.)
i use the newest chrome. im not sure which apache version my hoster uses.
@ganomi does the issue also occur with Firefox? Can you in both browsers check the developer/web console for errors (right click on the page and choose »Inspect«)?
@jancborchardt Same behaviour on Chrome and Firefox. No relevant errors in the console. Firefox 20 only says, that getAttributeNode() is deprecated.
I have the same problem.
My setup: Ubuntu 12.04 with owncloud 5.0 upgraded to 5.0.3.
Steps to reproduce (100% reproduceable on my machine with different accounts).
- Login into owncloud
- Klick New -> Folder... enter "Folder.test" as name and press enter.
- Klick rename on this new item and change Folder name to "Folder.test.edit".
- Folder name is changed in UI. Folder name is also changed on hard disk (checked with 'ls -h' on server console.
- refresh webpage (klick files icon or press ctrl+r).
- Item "Folder.test.edit" is renamed to "Folder.test" again.
- This folder is now a dead item in the web UI (you can't do anything with it now). Reason: The Folder itself is still named "Folder.test.edit" on the harddrive!!!
In my case I can't find any relation to syncclients or shared folders! I can't find any errors in admin log or apache logs!
Please check if you can reproduce these steps. Thanks!
Update: I've tested Firefox 20 and Chromium 25 on client side (Ubuntu 12.10 64bit). Makes no difference.
I can confirm that I have the same results as @XueSheng-GIT . I am running a fresh install of Debian 6 and a fresh install of ownCloud 5.0.3 installed from the Debian packages. Everything is at default settings. The problem is the same with both MySQL or SQLite.
please disable your apps step by step - I assume one of them has a negative impact on the behavior
@DeepDiver1975 Even with no apps enabled and after a reboot the problem remains. If I rename a simple text file in the web interface the name appears to change then reverts to the original. If I look in the file system the name is changed. Clicking on the file in the web interface shows the error 'Cloud not found'. If I rename the file to the original name the web interface will work correctly. Files can be created and the content edited in the web interface successfully.
I've opened a pull request which should solve the problem: #2801
Confirm! Fixes the problem for me. Thank you!
Reopen pls if pull request doesnt fix this problem