Hi.

There is a bug in the way objects are scheduled inside a container. This 
is perhaps best illustrated by some code.

Let's say I have a publishing rule that does this

 result.ainvocations[1] = structnew();
 result.ainvocations[1].objectid = object1;
 result.ainvocations[1].typeid = typeX;
 result.ainvocations[1].method = 'display';
 result.ainvocations[2] = structnew();
 result.ainvocations[2].objectid = object2;
 result.ainvocations[2].typeid = typeX;
 result.ainvocations[2].method = 'display';
 result.ainvocations[2].stparams = structnew();
 result.ainvocations[2].stparams.color = 'red';

Then what I would expect is that eventually the 'display' method will be
invoked on object1 with no parameters, and that the 'display' method will
be invoked on object2 with an stParams attribute that contains a 'color'
key with value 'red'.

But what in fact happens is that the second stParams structure is never
passed at all.

I have a fix but I can't post it here because this list won't accept
attachments. So if this community source portal is ever released this
will be the first thing I am going to submit. :)

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