[ic] $Tag->forum() fails in [perl] in prefork/rpc mode after one successful page view

John Young interchange-users@icdevgroup.org
Tue Jul 1 13:32:00 2003


I had asked about:
>> If anyone has any ideas about how $Tag->forum() might forget
>> about Vend::Tags after using it once in prefork mode, I would
>> much appreciate any shared insight...

Mike replied:
> Bug. Try this patch:
> 
> --- /r/Interpolate.pm	Wed Jun 18 22:20:28 2003
> +++ /rt/Interpolate.pm	Tue Jul  1 10:16:56 2003
> @@ -1836,7 +1836,7 @@
>  		}
>  	}
>  
> -	$Tag = $hole->wrap($Tag) if $hole and ! $tag_wrapped++;
> +	$Tag = $hole->wrap($Tag) if $hole and ! $Vend::TagWrapped++;
>  
>  	init_calc() if ! $Vend::Calc_initialized;
>  	$ready_safe->share(@share) if @share;


Initial testing indicates that works like a charm.  Thanks a bunch, Mike!

John Young