tracker issue : CF-3286741

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

Generic setters ignore import operator

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Walter Seethaler / Walter Seethaler (Walter Seethaler)

Created: 07/12/2012

Components: Language

Versions: 9.0.1

Failure Type:

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7

Vote Count: 0

Problem Description:

import sub.WithImport;
component
	accessors="true"
{
	property sub.WithoutImport Test1;
	property WithImport Test2;
}

The above class in the webroot and the 2 classes: WithImport and WithoutImport in the sub directory. An external call to the setTest2(new sub.WithImport()) method, results in the error:
The Test2 argument passed to the SETTEST2 function is not of type WithImport


Steps to Reproduce:
Unzip attachment to an empty webroot and call it

Actual Result:
The import is ignored and the setter is not compiled correctly.

Expected Result:
A generic setter with a fully qualified type.

Any Workarounds:
Define the fully qualified type in the property. Don't use import.

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

Watson Bug ID:	3286741

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Walter Seethaler
External Customer Email:  
External Test Config: My Hardware and Environment details: Windows 7, Apache, localhost.

Attachments:

  1. July 12, 2012 00:00:00: 1_bug.zip

Comments:

Bug verified (Comment added from ex-user id:vnigam)
Comment by Adobe D.
18726 | December 17, 2013 05:46:07 AM GMT
Please use bugCF-3286741.zip Extract it and run index.cfm (Comment added from ex-user id:vnigam)
Comment by Adobe D.
18727 | December 17, 2013 05:46:55 AM GMT
We have verified and is indeed a bug. The fix looks very risky and will take up at right time.
Comment by Awdhesh K.
18728 | December 18, 2013 08:30:07 AM GMT