tracker issue : CF-3041265

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

Bug 82581:Component Cache setting breaks new operator and import statement

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Elliott Sprehn / Elliott Sprehn (Elliott Sprehn)

Created: 04/02/2010

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Duplicate ID:	CF-3040623

Problem:

Component Cache setting breaks new operator and import statement. Wrong types are always returned.
Method:

[vmannebo 4/26/10] 

\\blrfs04.macromedia.com\builds\coldfusion\bugs\82581\index.cfm

---------------------------------------------------------------------------

Create two components: 
path1/Car.cfc, 
path2/Car.cfc in the root 

index.cfm:
import path1.*;
c = new Car();
writeDump(c); // This is path1.Car,

Change this template to have:
import path2.*;
c = new Car(); // This STILL returns path1.Car

In fact you can delete the import statement entirely and it'll still create path1.Car.

Disabling the "Component Cache" in the administrator fixes this bug.
Result:

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

Watson Bug ID:	3041265

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Elliott Sprehn
External Customer Email: 202D59C844579997992016B7
External Test Config: 04/02/2010

Attachments:

Comments: