cfmodule index question

View: New views
5 Messages — Rating Filter:   Alert me  

cfmodule index question

by Robyn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
 Save $10 Download ZoneAlarm Security Suite
http://www.houseoffusion.com/banners/view.cfm?bannerid=66

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6755
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=17837.14401.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: cfmodule index question

by jeff-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6756
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=17837.14401.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: cfmodule index question

by Robyn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

jeff@... 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:6760
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=17837.14401.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: cfmodule index question

by jeff-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
>
> jeff@... 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:6761
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=17837.14401.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: cfmodule index question

by Robyn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

jeff@... 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
>>
>>jeff@... 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=17837.14401.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54