Index: openacs-4/packages/acs-subsite/www/admin/site-map/application-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/site-map/application-new.tcl,v diff -u -N -r1.5.10.1 -r1.5.10.2 --- openacs-4/packages/acs-subsite/www/admin/site-map/application-new.tcl 27 Aug 2013 12:20:37 -0000 1.5.10.1 +++ openacs-4/packages/acs-subsite/www/admin/site-map/application-new.tcl 30 Jul 2014 15:33:22 -0000 1.5.10.2 @@ -27,8 +27,8 @@ {help_text "This should be a short string, all lowercase, with hyphens instead of spaces, whicn will be used in the URL of the new application. If you leave this blank, we will generate one for you from name of the application."} {html {size 30}} {validate { - empty_or_not_exists - {\$value\ eq {} || \[catch { site_node::get_from_url -url "[ad_conn package_url]\$value/" -exact }\]} + check_exists + {expr \[catch { site_node::get_from_url -url "[ad_conn package_url]\$value/" -exact }\]} {This folder name is already used.} }} }