Previously, the runtime was unconditionally doing this:
StructAppend(attributes, url, "yes");
StructAppend(attributes, form, "yes");
Now it's doing this:
if (IsDefined('attributes.method'))
{
strFuseActionSave = attributes.method;
StructAppend(attributes, url, "yes");
StructAppend(attributes, form, "yes");
attributes.fuseaction = strFuseActionSave;
attributes.method = strFuseActionSave;
}
else
{
StructAppend(attributes, url, "yes");
StructAppend(attributes, form, "yes");
}
Not psyched about hacking it, but in our case, the only time that this
situation will occur is when the index.cfm is invoked through a
CFMODULE. Works for now...
-Robyn
[EMAIL PROTECTED] wrote:
> Glad you fixed it. What changes did you make to the core?
>
> - Jeff
>
> On 14 Jun 2005 at 12:54, Robyn wrote:
>
>
>>Issuing the call in a fuse - an act_ page. Found out that it's
>>infinitely looping when i call index again with a new "method" in
>>attributes. Fusebox takes the attributes already in memory (from the
>>URL, in these cases) and ignores the method passed into the cfmodule.
>>Changed the core files to take care of this situation. Hate doing that,
>>but seemed to be the only way, and we need it to work for this app...
>>
>>-Robyn
>>
>>[EMAIL PROTECTED] wrote:
>>
>>>Where are you issuing the cfmodule call?
>>>
>>>- Jeff
>>>
>>>On 9 Jun 2005 at 9:45, Robyn wrote:
>>>
>>>
>>>
>>>>Hey all,
>>>>
>>>>First post to the list :-) We've been using MVC FB4 for a long time now,
>>>>and we've finally hit a snag.
>>>>
>>>>I unfortunately am in a situation where I need to include a fuseaction
>>>>via a CFMODULE call.
>>>>
>>>>
>>>>Seems to be the case that when I do a CFMODULE call like so:
>>>>
>>>><cfmodule
>>>> template="/index.cfm"
>>>> method="Something.Method"
>>>>
>>>>from within an existing fuseaction, the server goes to 100% and I have
>>>
>>>>to restart. When I call this same CFMODULE from outside of the fusebox
>>>>framework, it works fine, so I know that the index.cfm is capable of
>>>>receiving this method in ATTRIBUTES and is actually executing.
>>>>
>>>>Has anyone seen this before? If so, does anyone have any suggestions as
>>>>to how I can make the core files work for this situation?
>>>>
>>>>-Robyn
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6763
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54