tracker issue : CF-3589407

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

Threads add weird methods into CFCs

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 07/03/2013

Components: Language

Versions: 9.0.1

Failure Type: Data Corruption

Found In Build/Fixed In Build: 9.0.1 / 286508

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 1

Run this:

// C.cfc
component {

    public void function f(){
        var t1 = false;
        thread name="t1" action="run" {
            // nowt
        }
    }

}

// test.cfm
o = new C();
md = getMetadata(o);

writeDump([o,md]);

The dump includes a _cffunccfthread_cfC2ecfc8719792511() method, which is some of ColdFusion's inner workings, and should not be in there.

See http://cfmlblog.adamcameron.me/2013/07/threads-add-weird-methods-into-cfcs.html

-- 
Adam

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

Watson Bug ID:	3589407

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Also happens in CF10. I tried introspecting mycfc.cfc at http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7fed.html and there's a cfthread function in the CFC.
Vote by External U.
15062 | July 03, 2013 04:26:57 PM GMT
Fix tested on build, 287014
Comment by Immanuel N.
15061 | December 04, 2013 09:19:01 AM GMT