I go to my photo-album and I want to edit the folders. My page is similar to this:
https://openacs.org/picture/With admin permissions, I see an "Edit folder information" link, which takes me to an edit-folder page -- a form with two fields, as in:
Edit the Folder:
_#Folder Name# * ______________________
_#Folder Description# ________________________
When I change the values of the field and submit, I expect the folder name and description to change, however, an error * on the web page appears with an error ** in the error log. Is something wrong with content_folder.rename or does anyone see some obvious issue with this snippet of code on:
packages/photo-album/www/folder-edit.tcl
SNIPPIT OF CODE THAT'S FAILING
from photo-album/www/folder-edit.tcl
# edit the folder
db_transaction {
db_exec_plsql edit_folder {
begin
content_folder.rename (
folder_id => :folder_id,
label => :label,
description => :description
);
end;
}
} on_error {
ad_return_complaint 1 "[_ photo-album._An]"
ad_script_abort
}
** 1
ERROR FROM WEB PAGE
Problem with your input
We had a problem with your input:
An error occurred while processing your input. Please let the system owner know about this.
$errmsg
Please back up using your browser, correct the above , and resubmit your entry.
Thank you.
*** 2
ERROR FROM ERROR.LOG
[04/Apr/2005:19:47:56][32276.65540][-conn:openacs::0] Error: Ns_PgExec: result status: 7 message: ERROR: function content_folder__rename("unknown", "unknown", "unknown", "unknown") does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts.