tracker issue : CF-3037816

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

Bug 75879:Please allow control over scope lookup in the CF Administrator

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Sean Corfield / Sean Corfield (Sean Corfield)

Created: 03/11/2009

Components: Administrator, Administrator Console

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 8

Duplicate ID:	CF-3036170

Problem:

Please allow control over scope lookup in the CF Administrator. You added the ability to control the lookup for Application.cfc/Application.cfm (like Railo allows). Please add control over scope lookup for unqualified variable names, in a similar way:

Local scope mode:
- always: the local scope is always invoked
- update (CFML standard): the local scope is only invoked when the key already exists in it

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

The first control lets you specify whether #myVar# always means #local.myVar# or whether it uses the cascading lookup (like ColdFusion). The second control lets you specify which scopes are searched.

Method:


Result:

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

Watson Bug ID:	3037816

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Sean Corfield
External Customer Email: 479B4EDC43F3A88B992016B6
External Test Config: 03/11/2009

Attachments:

Comments:

+1 vote. Great idea. -- Adam
Vote by External U.
23957 | November 10, 2011 07:17:28 PM GMT
+1 I am absolutely in favor of this... such a think has precedent in the setting to enable/disable type checking, but it's far more useful than that!
Vote by External U.
23958 | November 10, 2011 07:17:30 PM GMT
+1, it would be great to be able to enforce strict scope usgage from either cfadmin or application.cfc to ensure coding standard compliance
Vote by External U.
23959 | November 10, 2011 07:17:31 PM GMT
This bug has been voted..
Vote by External U.
23960 | November 10, 2011 07:17:32 PM GMT
This bug has been voted..
Vote by External U.
23961 | November 10, 2011 07:17:34 PM GMT
I would love something like this. It would be even better if I could also be specified as a variable in applicaiton.cfc
Vote by External U.
23962 | November 10, 2011 07:17:35 PM GMT
This bug has been voted..
Vote by External U.
23963 | November 10, 2011 07:17:37 PM GMT
This bug has been voted..
Vote by External U.
23964 | November 10, 2011 07:17:38 PM GMT