tracker issue : CF-3040577

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

Bug 81114:Cannot specify fully qualified argument type directly in script style

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 12/10/2009

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 7

Problem:

Cannot specify fully qualified argument type directly in script style. Workaround:import com.xyz.*;component  {  void function foo(bar bar)   {  }}However, if same type exists in multiple packages, it will resolve to the first package defined in the import.Also, the cfcexplorer does not resolve the type correctly.
Method:

component  {  void function foo(com.xyz.bar bar)   {  }}
Result:

You cannot use a variable reference with "." operators in this context coldfusion.compiler.CFMLParserBase$InvalidSimpleIdentifierException: You cannot use a variable reference with "." operators in this contextat coldfusion.compiler.cfml40.SimpleIdentifier(cfml40.java:6678)at coldfusion.compiler.cfml40.parameterDefinition(cfml40.java:3046)at coldfusion.compiler.cfml40.functionDefinition(cfml40.java:2918)at coldfusion.compiler.cfml40.cfscriptStatement(cfml40.java:1523)at coldfusion.compiler.cfml40.start(cfml40.java:4508)at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:703)at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:648)at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:401)at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418)at coldfusion.util.LruCache.get(LruCache.java:180)at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362)at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)at coldfusion.util.SoftCache.get(SoftCache.java:81)at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:138)at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:264)at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)at jrun.servlet.FilterChain.service(FilterChain.java:101)at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

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

Watson Bug ID:	3040577

External Customer Info:
External Company:  
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 12/10/2009

Attachments:

Comments: