Bug 259616

Summary: Create Folder allows to create the same folder any number of times.
Product: [Unmaintained] owncloud Reporter: Telmo Xtra <thx1011>
Component: generalAssignee: Frank Karlitschek <karlitschek>
Status: RESOLVED FIXED    
Severity: normal CC: robin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Telmo Xtra 2010-12-12 16:04:24 UTC
Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

Version OwnCloud 1.1 deployed on Ubuntu LAMP stack.

Create folder button if pressed repeatedly creates the same folder N times and displays them. Logging out and in, shows only one folder created. Then deleting the folder becomes it deletes the folder but the other same named phantom folders still exist.

This is mainly a cosmetic issue. 

I believe an error should pop up saying folder already exists.

Reproducible: Always

Steps to Reproduce:
Create folder button pressed repeatedly with the same folder name.

Actual Results:  
N folders named the same appear

Expected Results:  
At the 2nd time or above when pressing the button to create a folder an error message should warn that the folder already exists at the current level.
Comment 1 Robin Appelman 2010-12-12 22:38:46 UTC
Fixed in http://gitorious.org/owncloud/owncloud/commit/654387ff05e84c51a4c85854abe1843bb65ed412

It might be better to have a more generic approach for error handling in the file browser, but I don't have time for that now.