tracker issue : CF-3040888

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

Bug 81940:PreserveSingleQuotes is unable to accept output returned from any other function that returns a simple value (string, list) without throwing an error

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Gary Gilbert / Gary Gilbert (garyrgi)

Created: 02/02/2010

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

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

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 1

Problem:

PreserveSingleQuotes is unable to accept output returned from any other function that returns a simple value (string, list) without throwing an error.
Method:

<cfset mylist = "one,two,three,four"><cfset myPreservedList = preserveSingleQuotes(listQualify(mylist,"'"))>work around:<cfset mylist = "one,two,three,four"><cfset myQualifiedList = listQualify(mylist,"'")><cfset myPreservedList = preserveSingleQuotes(myQualifiedList)>
Result:

 Complex constructs are not supported with function PreserveSingleQuotes.Use simple variable instead.coldfusion.compiler.CFMLParserBase$UnsupportedComplexException: Complex constructs are not supported with function PreserveSingleQuotes.at coldfusion.compiler.cfml40.SpecialForm(cfml40.java:6598)at coldfusion.compiler.cfml40.PrimaryExpression(cfml40.java:5761)at coldfusion.compiler.cfml40.UnaryExpression(cfml40.java:5610)at coldfusion.compiler.cfml40.ExponentialExpression(cfml40.java:5567)at coldfusion.compiler.cfml40.MultiplyDivisionExpression(cfml40.java:5520)at coldfusion.compiler.cfml40.IntegerDivisionExpression(cfml40.java:5501)at coldfusion.compiler.cfml40.ModExpression(cfml40.java:5482)at coldfusion.compiler.cfml40.AdditionExpression(cfml40.java:5435)at coldfusion.compiler.cfml40.ConcatExpression(cfml40.java:5416)at coldfusion.compiler.cfml40.ComparisonExpression(cfml40.java:5269)at coldfusion.compiler.cfml40.NotExpression(cfml40.java:5219)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.ExpressionBody(cfml40.java:948)at coldfusion.compiler.cfml40.BodyHashExpression(cfml40.java:917)at coldfusion.compiler.cfml40.cfml(cfml40.java:4256)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 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$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

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

Watson Bug ID:	3040888

External Customer Info:
External Company:  
External Customer Name: Gary Gilbert
External Customer Email: 3FDC45AE445F31D7992015D5
External Test Config: 02/02/2010

Attachments:

Comments: