Bug 259616 - Create Folder allows to create the same folder any number of times.
Summary: Create Folder allows to create the same folder any number of times.
Status: RESOLVED FIXED
Alias: None
Product: owncloud
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Frank Karlitschek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 16:04 UTC by Telmo Xtra
Modified: 2011-06-17 14:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.