tracker issue : CF-3037040

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

Bug 74213:setters (maybe getters) autocreated at runtime aren't available from within the CFC that defines them

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Benjamin Archibald / Ben Archibald (BenArchie)

Created: 12/11/2008

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 218294

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

setters (maybe getters) autocreated at runtime aren't available from within the CFC that defines them.

<cfcomponent name="blah" persitent="true">
 <cfproperty name="test>

 <cffunction name="init">
   <cfset setTest(1)>  
 </cffunction>

</cfcomponent>

This will fail to find setTest() even though I can call it from an external template / object.
</cfcomponent>


Method:


Result:

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

Watson Bug ID:	3037040

External Customer Info:
External Company:  
External Customer Name: Ben Archibald
External Customer Email: 3AA72D3444AEF7EB9920157F
External Test Config: 12/11/2008

Attachments:

Comments:

+1 vote. This needs to be sorted. The work-around of using "this." is adequate, but not really very clean, and at odds with the way CFC methods usually work. -- Adam
Vote by External U.
24410 | November 10, 2011 07:08:10 PM GMT