Please post this to the Community Source Site when we go live Michael!

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Michiel Boland [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 3:56 AM
> To: Spectra-Talk
> Subject: problem with cfa_contentobjectcachewrite
>
>
> Hi.
>
> Line 108 of cfa_contentobjectcachewrite.cfm:
>
> structAppend( stServerObjects, attributes.stObjects );
>
> should be changed to
>
> structAppend( stServerObjects, duplicate(attributes.stObjects) );
>
> In combination with the cfa_log bug mentioned earlier, just copying
> the object cache into server scope rather than duplicating can have very
> strange results.
>
> For example, if you do this:-
>
>  put object into request cache
>  put object into server cache with cfa_contentobjectcachewrite
>  modify object, which in turn modifies the copy in request cache
>
> Then what you are in fact doing is change the server cache as well! So the
> next template that comes along will pick up a bad copy of the object from
> the server cache.
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to