Forum OpenACS Q&A: max content lenght parameter blogger

Collapse
Posted by Ben Koot on
Hi folks,

Does anybody have an idea how to restore the broken parameter "max contenth length" in Lars blogger. Bug filed https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=2250

Thanks

Ben

Collapse
Posted by Orzenil Silva Junior on
Hi Ben,

I fixed it in my install recently but did not have time yet to suggest a patch for bug-tracker.. i'll do it tomorrow.

Untill that you can consider this workaround: open /packages/lars-blogger/www/blog.tcl and /packages/lars-blogger/www/entry-chunk.tcl

look for:

if { ![exists_and_not_null max_content_length] } {
...

and substitute for:

if { ![template::util::is_true $max_content_length] } {
...

The problem is this commit http://cvs.openacs.org/cvs/openacs-4/packages/lars-blogger/www/index.adp?rev=1.34.2.1&only_with_tag=openacs-5-1-compat&view=markup introduced max_content_length="0" to compat with lars-blogger.info parameter on install but blog.tcl and entry-chunk.tcl was not changed (older version was using max_content_length="")

\Orzenil