tracker issue : CF-3040389

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

Bug 80613:(Watson Migration Closure)Shorthand of struct creation should accept JSON styled notation

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Randy Merrill / Randy Merrill (Zoramite)

Created: 11/08/2009

Components: Language, Datastructure

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,0,251028 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Shorthand of struct creation should accept JSON styled notation.
Method:

<cfset test = { bubble: 'gum' } />
Result:

coldfusion.compiler.ParseException: Invalid CFML construct found on line 1 at column 15.at coldfusion.compiler.cfml40.generateParseException(cfml40.java:11961)at coldfusion.compiler.cfml40.jj_consume_token(cfml40.java:11832)at coldfusion.compiler.cfml40.NotExpression(cfml40.java:5221)at coldfusion.compiler.cfml40.AndExpression(cfml40.java:5191)at coldfusion.compiler.cfml40.OrExpression(cfml40.java:5172)at coldfusion.compiler.cfml40.XorExpression(cfml40.java:5153)at coldfusion.compiler.cfml40.EqvExpression(cfml40.java:5134)at coldfusion.compiler.cfml40.ImpExpression(cfml40.java:5115)at coldfusion.compiler.cfml40.HookExpression(cfml40.java:5070)at coldfusion.compiler.cfml40.expr(cfml40.java:5054)at coldfusion.compiler.cfml40.cfScriptExpression(cfml40.java:2356)at coldfusion.compiler.cfml40.SimpleStatement(cfml40.java:612)at coldfusion.compiler.cfml40.cfsetstatement(cfml40.java:505)at coldfusion.compiler.cfml40.cfset(cfml40.java:477)at coldfusion.compiler.cfml40.cfml(cfml40.java:4220)at coldfusion.compiler.cfml40.start(cfml40.java:4662)at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:667)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:424)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:604)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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)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.filter.CachingFilter.invoke(CachingFilter.java:53)at coldfusion.CfmServlet.service(CfmServlet.java:200)at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)at java.lang.Thread.run(Thread.java:636)

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

Watson Bug ID:	3040389

External Customer Info:
External Company:  
External Customer Name: Randy Merrill
External Customer Email: 0E671672433755B3992016B6
External Test Config: 11/08/2009

Attachments:

Comments: