Index: openacs-4/packages/edit-this-page/tcl/etp-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/tcl/etp-procs.tcl,v diff -u -r1.28 -r1.29 --- openacs-4/packages/edit-this-page/tcl/etp-procs.tcl 13 Feb 2016 16:38:05 -0000 1.28 +++ openacs-4/packages/edit-this-page/tcl/etp-procs.tcl 8 May 2016 13:04:12 -0000 1.29 @@ -261,6 +261,15 @@ if {$package_id eq ""} { set package_id [ad_conn package_id] } + if {![string is integer -strict $package_id]} { + ad_log Warning "package_id <$package_id> is not an integer" + # + # This might happen, when no package_id could be determined + # via [ad_conn package_id] + # + ns_returnnotfound + ad_script_abort + } set name [etp::get_name] set content_type [etp::get_content_type $name]