tracker issue : CF-3039319

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

Bug 78853:Implicit getters and setters are turned off by default, and the only way to turn them on currently is via a setting in the CF Admin

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Nathan Strutz / Nathan Strutz (Nathan Strutz)

Created: 07/16/2009

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 3

Problem:

Implicit getters and setters are turned off by default, and the only way to turn them on currently is via a setting in the CF Admin. Because of the way applications are deployed, admin settings may be on for development and off for production, or vice-versa. This setting needs to be moved.Ideally, the option to enable implicit getters & setters should be a cascading option:Server level via cf adminoverwritten by application level via application.cfc/cfapplication tagoverwritten by a setting on the component via cfcomponent tag, or via cfscriptHaving all 3 may be overkill. A combination of any 2 would be ok.Minimally, the very least that should happen, is that this setting should be moved to the component level, with the default of off. The cfcomponent attribute name should be something like implicitPropertyMethods="yes|no|true|false"
Method:


Result:

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

Watson Bug ID:	3039319

External Customer Info:
External Company:  
External Customer Name: Nathan Strutz
External Customer Email: 36EC2AB9446105B39920157F
External Test Config: 07/16/2009

Attachments:

Comments:

Agreed, this causes problems with onMissingMethod firing when using the this scope.
Vote by External U.
23396 | November 10, 2011 06:59:30 PM GMT
I agree it needs to be more configurable, at a minimum at the application level. This can cause problems if you are using onMissingMethod with cfproperty
Vote by External U.
23397 | November 10, 2011 06:59:31 PM GMT
This bug has been voted..
Vote by External U.
23398 | November 10, 2011 06:59:32 PM GMT