Since upgrading to latest Weblogger version, whenver I try to delete a draft entry using the interface, nothing happens. Page just reloads. No error message, no log message.
If I replace the current code in entry-delete.tcl:
ad_page_contract {} {
entry_id:integer
{return_url "."}
}
ad_form -name confirmation \
-cancel_url $return_url \
-form {
{entry_id:text(hidden)
{value $entry_id}
}
} -on_submit {
lars_blogger::entry::delete -entry_id $entry_id
} -after_submit {
ad_returnredirect $return_url
ad_script_abort
} \
-export {return_url}
set page_title "[_ lars-blogger.Confirm_Delete]"
set context [list $page_title]
ad_return_template
with the code from the older version:
ad_page_contract {} {
entry_id:integer
{return_url "."}
}
lars_blogger::entry::delete -entry_id $entry_id
ad_returnredirect $return_url
it works again. Ran all the the SQL in the updates folder. Installed another instance of Weblogger and duplicated this bug.
I know this is hard to divine without any meaningful error messages, but thought I'd throw it out in case anyone has a clue about where to look to fix this bug. Thanks.