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.

-- 
Michiel Boland <[EMAIL PROTECTED]>
Digital Valley Internet Professionals
Plantsoen 17, Wageningen, The Netherlands
Phone: +31 317 465555, Fax: +31 317 460276


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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