Hi Sean,
sorry for the late reply, but gmail was down for the last 3 days.
Anyone else have any problems?

Anyhow, the only thing I'm doing like that is filering the attributes
scope, but the vars should still be defined even if for example
they've been written over with an empty string. I run my content
filter in the pre-process plugin phase.

Here's my content filter:

<!--- Clean up url and form fields --->
<cfif NOT StructIsEmpty(attributes)>
        <!--- Loop through attributes variables. --->   
        <cfloop list="#StructKeyList(attributes)#" index="field">
        <cfif field DOES NOT CONTAIN "file">
                <cfset 
attributes[field]=application.cFilter.stringFilter(attributes[field])>
        </cfif>
        </cfloop>
</cfif>

This shouldn't cause the error's I'm getting. Any insight would be
much appreciated.

- Jason Sheedy
www.voice.com.au




On Wed, 2 Feb 2005 23:27:08 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On Thu, 3 Feb 2005 13:16:20 +1100, Jason Sheedy <[EMAIL PROTECTED]> wrote:
> > I've been getting some exceptions reported that various attributes scope
> > variables are undefined. The variables are quite random across the whole
> > application and are in fact being passed through from the form/url scopes.
> > I'm using fusebox 4.1 and it seems like the attributes scope is being
> > intermitantly overwritten. Any ideas would be much appreciated.?
> 
> Sounds like you might have code that assigns to attributes,
> overwriting it, e.g.,
> 
> <cfset attributes = someStruct>
> --
> Sean A Corfield -- http://www.corfield.org/
> Team Fusebox -- http://www.fusebox.org/
> Breeze Me! -- http://www.corfield.org/breezeme
> Got Gmail? -- I have 50, yes 50, invites to give away!
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to