tracker issue : CF-3036170

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 73015:(Watson Migration Closure)Railo has a "Cascading Scope" feature that I would very much love built into CF Server

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Todd Rafferty / Todd Rafferty (Todd Rafferty)

Created: 09/18/2008

Components: General Server

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 8

Problem:

Railo has a "Cascading Scope" feature that I would very much love built into CF Server.

From the Railo Server:
=============================================
Depending on this setting Railo scans certain scopes to find a variable called from the CFML source. This will only happen, when the variable is called without a scope. (Example: #myVar# instead of #variables.myVar#)
- strict: scans only the variables scope
- small: scans the scopes variables,cgi,url,form
- standard (CFML Standard): scans the scopes variables,cgi,url,form,cookie 
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3036170

External Customer Info:
External Company:  
External Customer Name: Todd Rafferty
External Customer Email: 65E3269B4558959A992016B6
External Test Config: 09/18/2008

Attachments:

Comments:

This bug has been voted..
Vote by External U.
24719 | November 10, 2011 06:53:22 PM GMT
I support this as long as arguments and local are also searched in strict mode.
Vote by External U.
24720 | November 10, 2011 06:53:24 PM GMT
This should definitely be a part of CF9. Of course, it needs to be a setting in the CF admin or per Application.cfc. On a shared host, you probably would not want to enforce it on all developers.
Vote by External U.
24721 | November 10, 2011 06:53:29 PM GMT
Like the idea and also same as in Railo. Its really a performance boost.
Vote by External U.
24722 | November 10, 2011 06:53:31 PM GMT
This bug has been voted..
Vote by External U.
24723 | November 10, 2011 06:53:33 PM GMT
For well-written code this should provide a big performance boost since it will remove scope lookups. It's one of the things I really like about Railo's approach.
Vote by External U.
24724 | November 10, 2011 06:53:34 PM GMT
This bug has been voted..
Vote by External U.
24725 | November 10, 2011 06:53:36 PM GMT
+1 - I also agree this is a good idea. Please.
Vote by External U.
24726 | November 10, 2011 06:53:38 PM GMT