Index: openacs-4/packages/xotcl-core/tcl/01-debug-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/01-debug-procs.tcl,v diff -u -N -r1.72.2.2 -r1.72.2.3 --- openacs-4/packages/xotcl-core/tcl/01-debug-procs.tcl 17 Sep 2013 17:49:23 -0000 1.72.2.2 +++ openacs-4/packages/xotcl-core/tcl/01-debug-procs.tcl 24 Sep 2013 20:17:46 -0000 1.72.2.3 @@ -822,15 +822,19 @@ return [$o info object methods -type forwarder] } "class" { - if {"::xotcl::Object" in [$o info precedence]} {return [$o info class]} + #if {"::xotcl::Object" in [$o info precedence]} {return [$o info class]} return [$o info class] } "superclass" { - if {"::xotcl::Object" in [$o info precedence]} {return [$o info superclass]} + #if {"::xotcl::Object" in [$o info precedence]} {return [$o info superclass]} return [$o info superclass] } + "heritage" { + #if {"::xotcl::Object" in [$o info precedence]} {return [$o info heritage]} + return [$o info heritage] + } "subclass" { - if {"::xotcl::Object" in [$o info precedence]} {return [$o info subclass]} + #if {"::xotcl::Object" in [$o info precedence]} {return [$o info subclass]} return [$o info subclass] } "parameter" { Index: openacs-4/packages/xotcl-core/www/show-object.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/www/show-object.tcl,v diff -u -N -r1.15.6.4 -r1.15.6.5 --- openacs-4/packages/xotcl-core/www/show-object.tcl 17 Sep 2013 19:28:10 -0000 1.15.6.4 +++ openacs-4/packages/xotcl-core/www/show-object.tcl 24 Sep 2013 20:17:46 -0000 1.15.6.5 @@ -18,12 +18,19 @@ set output "" ::xotcl::api scope_from_object_reference scope object +# +# scope must be an object, otherwise something is wrong. +# if {$scope ne "" && ![xo::getObjectProperty $scope isobject]} { set isobject 0 } else { set isobject [::xotcl::api isobject $scope $object] } +if {$scope ne ""} { + auth::require_login +} + if {!$isobject} { ad_return_complaint 1 "Unable to access object $object. Might this be a temporary object?" @@ -85,9 +92,8 @@ proc info_option {scope object kind {dosort 0}} { upvar class_references class_references - set isnx [xo::getObjectProperty $object isnxobject] + set isnx [DO xo::getObjectProperty $object isnxobject] set list [DO xo::getObjectProperty $object $kind] - set list [DO xo::getObjectProperty $object $kind] if {$dosort} {set list [lsort $list]} @@ -117,8 +123,8 @@ proc class_summary {c scope} { set result "" - set parameters [lsort [xo::getObjectProperty $c parameter]] - append result "