Index: openacs-4/packages/rss-support/tcl/rss-generation-service-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/rss-support/tcl/rss-generation-service-procs.tcl,v diff -u -r1.10.2.2 -r1.10.2.3 --- openacs-4/packages/rss-support/tcl/rss-generation-service-procs.tcl 18 Oct 2002 20:25:23 -0000 1.10.2.2 +++ openacs-4/packages/rss-support/tcl/rss-generation-service-procs.tcl 13 Mar 2003 14:25:37 -0000 1.10.2.3 @@ -61,6 +61,12 @@ set datasource [acs_sc_call RssGenerationSubscriber datasource \ $summary_context_id $impl_name] + + if { [empty_string_p $datasource] } { + ns_log Error "Empty datasource returned from $impl_name for context $summary_context_id in rss_gen_report. Probably because the implementation hasn't been bound." + return + } + set args "" foreach {name val} $datasource { regsub -all {[\]\[\{\}""\\$]} $val {\\&} val