tracker issue : CF-3041756

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

Bug 83527:(Watson Migration Closure)If you create a new CFC with accessors = true and a cfproperty with a default attribute, the default value is never assigned to the property

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)

Created: 07/09/2010

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / CF10

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 9

Problem:

If you create a new CFC with accessors = true and a cfproperty with a default attribute, the default value is never assigned to the property.
Method:

component accessors=true{property name="test" default="0";}The test property will not have a default value of 0, which is annoying, as we have to call a setter on the constructor instead of tthe default value working.
Result:

cfproperties default argument does nothing

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

Watson Bug ID:	3041756

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Luis Majano
External Customer Email: 7A3D2E124563615A99201549
External Test Config: 07/09/2010

Attachments:

Comments:

This bug has been voted..
Vote by External U.
21792 | November 11, 2011 12:48:55 AM GMT
This bug has been voted..
Vote by External U.
21793 | November 11, 2011 12:48:56 AM GMT
This bug has been voted..
Vote by External U.
21794 | November 11, 2011 12:48:58 AM GMT
This bug has been voted..
Vote by External U.
21795 | November 11, 2011 12:48:59 AM GMT
fix this, or add something like setDefault=true
Vote by External U.
21796 | November 11, 2011 12:49:01 AM GMT
This bug has been voted..
Vote by External U.
21797 | November 11, 2011 12:49:02 AM GMT
This bug has been voted..
Vote by External U.
21798 | November 11, 2011 12:49:04 AM GMT
This bug has been voted..
Vote by External U.
21799 | November 11, 2011 12:49:05 AM GMT
This bug has been voted..
Vote by External U.
21800 | November 11, 2011 12:49:06 AM GMT
Adobe, can you pls clarify which version of CF this is actually fixed in? 280966 is a bit meaningless. Cheers.
Comment by External U.
21789 | October 29, 2014 10:44:43 AM GMT
This is fixed in CF10
Comment by Anit K.
21790 | October 29, 2014 06:04:53 PM GMT
Thanks Anit!
Comment by External U.
21791 | October 29, 2014 06:17:33 PM GMT