core icon indicating copy to clipboard operation
core copied to clipboard

Unable to add folders with the same name that existing page

Open bryanboza opened this issue 11 years ago • 6 comments

Since the pages don't have extension, then now we can't add folders with the same name of the page. This because have the same path... E.g: If you have a "test" html page, and then try to add a "test" folder the system shows an error: "Folder already exists... Please enter a different name"

http://monosnap.com/image/tZQU8XBK7NXY7gbMYpDcBdHtSzmoQr

Tested on nightly build 2015-02-12 // H2 // FF

bryanboza avatar Feb 13 '15 21:02 bryanboza

This is correct behavior. We could change the language to Another Object Exists but this is right

jtesser avatar Feb 13 '15 21:02 jtesser

That issue is only with the new html page as assets, i am not able to reproduce in old versions before 3.1...

bryanboza avatar Feb 13 '15 21:02 bryanboza

because they never had the same name

jtesser avatar Feb 13 '15 22:02 jtesser

@samuelmortha simply make the error more descriptive here. you cannot have a page and folder at the same level with the same URL

jtesser avatar Feb 19 '15 19:02 jtesser

Fixed, Tested on nightly build 2015-02-24 // Postgres // FF

bryanboza avatar Feb 25 '15 18:02 bryanboza

Added TC http://qa.dotcms.com/index.php?/cases/view/55731

shaydotcms avatar Mar 20 '15 16:03 shaydotcms