Forum OpenACS Development: Re: including /packages/forums/lib/forums-portlet, invalid command name #

Quoting a list of lists as a string and feeding it back into a process that treats it as a list seems prone to breaking in all sorts of ways.

Locally I fixed this by bypassing util_memoize:

set new_topics_ds [db_list_of_lists new_topics { *sql* } ]
set hot_topics_ds [db_list_of_lists hot_topics { *sql } ]

0 seconds is default cache anyway. If I need to cache, can use the cache_key arg that is part of db procs.


Hi Benjamin,

I committed a version of the file that avoids caching through util_memoize and uses the caching mechanisms of the db_* api as you previously suggested. If you have the chance please update your copy and give it a try =).


Done. Thank you, Victor.