tracker issue : CF-3043675

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

Bug 86768:-(Watson Migration Closure)The 'default' attribute on cfproperty tag does not create the default value in the VARIABLES scope

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Ciaran Archer / Ciaran Archer (ciaranarcher)

Created: 03/30/2011

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,1,274733 /

Priority/Frequency: Trivial / Unknown

Locale/System: Japanese / Win All

Vote Count: 0

Duplicate ID:	CF-3352745

Problem:

The 'default' attribute on cfproperty tag does not create the default value in the VARIABLES scope. 
Method:

Create a CFC with a single string property called 'foo' with a default of 'bar'. Once the CFC is created the variable 'foo' does not exist in the VARIABLES scope until it is set, using an accessor or directly by setting it in the VARIABLES scope. See this post for more info:  http://flydillonfly.wordpress.com/2010/11/23/cfproperty-i-ask-you-why-not-default-correctly/
Result:

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

Watson Bug ID:	3043675

External Customer Info:
External Company:  
External Customer Name: Ciaran Archer
External Customer Email: 33755F1F44B60A7D992016B7
External Test Config: 03/30/2011

Attachments:

Comments: