Forum OpenACS Q&A: XoWiki typo in content can cause server error
I updated the latest xowiki but still get this error
https://openacs.org/xowiki/pages/en/static-portlet
list element in braces followed by "}}" instead of space
while executing
"lindex $adp 0"
(procedure "include" line 6)
::368079 ::xowiki::Page->include
invoked from within
"my include "adp /www/templates/info-file {package_key static-portlet}}} {{adp /www/templates/bug-tracker {package_key static-portlet}}} {{adp /www/tem..."
invoked from within
"subst [regsub -all $re [string map {\[ \\[ \] \\] \$ \\$ \\ \\\\} $string] "\[$cmd\]"]"
(procedure "regsub-eval" line 3)
::368079 ::xowiki::Page->regsub-eval
invoked from within
"my regsub-eval $RE(include) $l {my include "\1"}"
(procedure "substitute_markup" line 13)
::368079 ::xowiki::Page->substitute_markup
invoked from within
"my substitute_markup [my set text]"
(procedure "get_content" line 4)
::368079 ::xowiki::Page->get_content
invoked from within
"my get_content"
(procedure "render" line 14)
::368079 ::xowiki::Page->render
invoked from within
"$page render"
invoked from within
"set content [$page render]"
("uplevel" body line 30)
invoked from within
"uplevel {
ad_page_contract {
view a wiki item
@author Gustaf Neumann (gustaf.neumann@wu-wien.ac.at)
@creation-date Oct 23, 2005
@cvs-id $Id: ..."
(procedure "code::tcl::/var/lib/aolserver/openacs.org/packages/xowiki/ww..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file $path"
(procedure "rp_internal_redirect" line 26)
invoked from within
"rp_internal_redirect "/packages/xowiki/www/view""
invoked from within
"if {$path ne ""} {
set item_id [::Generic::CrItem lookup -title $path -parent_id $folder_id]
if {$item_id == 0} {
if {[regexp {^(..)/(.*)$} $..."
(file "/var/lib/aolserver/openacs.org/packages/xowiki/www/pages/index.vuh" line 24)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file -noredirect -nodirectory -extension_pattern ".vuh" "$root$prefix""
("uplevel" body line 3)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
ad_conn -set path_info [string range $path [expr [string length $prefix] - 1] end]
rp_serve_abstract_file -noredirect -nodirectory -e..."
webmaster@openacs.org
Posted by
gustaf neumann
on 03/31/06 09:38 PM
the updated version in cvs catches now more errors from invalid input.