Index: openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl,v
diff -u -r1.74 -r1.75
--- openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 10 Mar 2006 19:28:53 -0000 1.74
+++ openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 12 Mar 2006 00:44:49 -0000 1.75
@@ -150,6 +150,7 @@
if { ![string equal [set ${f}_level] ""] } {
set j 0
set i 0
+ set pos 0
while { $i < $tree_length } {
set element [lindex $tree_list $i]
if {[string equal [set ${f}_category_v] [lindex $element 0]] } {
@@ -325,9 +326,7 @@
@course_list.sessions;noquote@
@course_list.section_zones;noquote@
@course_list.instructor_names;noquote@
-
-
[_ dotlrn-ecommerce.lt_There_is_no_fee_for_t]@course_list.prices;noquote@
-
+
[_ dotlrn-ecommerce.lt_There_is_no_fee_for_t]@course_list.prices;noquote@
@course_list.attendees;noquote@ [_ dotlrn-ecommerce.participant]s
,
@course_list.available_slots;noquote@ [_ dotlrn-ecommerce.available]
@@ -782,6 +781,10 @@
set button "[_ dotlrn-ecommerce.apply_for_course]"
}
- set fs_chunk [util_memoize [list uplevel dotlrn_ecommerce::section::fs_chunk $section_id] $memoize_max_age]
+ if {[catch {set fs_chunk [util_memoize [list uplevel dotlrn_ecommerce::section::fs_chunk $section_id] $memoize_max_age]} errmsg]} {
+ ns_log notice "ERROR:DAVEB tree-chunk.tcl calling fs_chunk section_id='${section_id} \n tree_id = '${tree_id}' \n ------ \n $errmsg \n ----- \n'"
+ }
set description [ad_text_to_html $description]
-}
\ No newline at end of file
+}
+
+ad_return_template
\ No newline at end of file
Index: openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d24-0.1d25.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d24-0.1d25.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d24-0.1d25.sql 10 Mar 2006 19:28:52 -0000 1.1
+++ openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d24-0.1d25.sql 12 Mar 2006 00:44:49 -0000 1.2
@@ -8,4 +8,5 @@
--
alter table dotlrn_ecommerce_section add show_price_p char(1);
-alter table dotlrn_ecommerce_section alter show_price_p set default 't';
\ No newline at end of file
+alter table dotlrn_ecommerce_section alter show_price_p set default 't';
+update dotlrn_ecommerce_section set show_price_p='t';
\ No newline at end of file