Hi there,
It's been a while I don't post threads.
So, I thought the OCT could be missing me. :)
Here it goes a bug that I found on acs-subsite pkg.
I tried to create an application filling up the form field "URL folder name" with the value "resources" and I got the warning message:
"This folder name is already used"
However I didn't find any reference/record to that value within the tables: acs_objects, apm_packages, apm_services, cr_item and cr_folders.
Moreover, I went to the file that throws the warning message:
"This folder name is already used", which is /packages/acs-subsite/www/admin/applications/application-add.tcl line 80
if { $folder eq "" } {
form set_error application folder "This folder name is already used"
break
}
Debugging it further i verified that the ad_proc right above the if statement returns the value " ".
set folder [site_node::verify_folder_name \
-parent_node_id [ad_conn node_id] \
-current_node_id $current_node_id \
-folder $folder \
-instance_name $instance_name]
It returns the blank value " " which is quite different from "" as in: $folder eq ""
Moreover I modified it the if statement to:
if { [exists_and_not_null folder] } {
if { [exists_and_not_nu$folder eq "" } {
form set_error application folder "This folder name is already used"
break
}
Then I finally could create the application with "URL folder name" set to "resources.
I wish I could help more