tracker issue : CF-4204402

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

[ANeff] Bug for: Four CFPageMethods throw coldfusion.compiler.CFMLParserBase$UnsupportedComplexException

| View in Tracker

Status/Resolution/Reason: To Test//Fixed

Reporter/Name(from Bugbase): Aaron N. / ()

Created: 05/21/2019

Components: Language, Functions

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018.0.0.310739 /

Priority/Frequency: Normal / Very few users will encounter

Locale/System: / Windows 10 64 bit

Vote Count: 0

Issue: Four CFPageMethods throw coldfusion.compiler.CFMLParserBase$UnsupportedComplexException

Repro:

<!--- good --->
{code:java}
<cfscript>
  bifs = "parameterExists,preserveSingleQuotes,quotedValueList,valueList"
  result=""
  for(bif in bifs) {
	  result &= bif & ': ' & evaluate(bif).getClass().getName() & '<br>'
  }
  writeOutput(result)
  /* Actual and Expected Result:
  parameterExists: coldfusion.runtime.CFPageMethod
  preserveSingleQuotes: coldfusion.runtime.CFPageMethod
  quotedValueList: coldfusion.runtime.CFPageMethod
  valueList: coldfusion.runtime.CFPageMethod
  */
</cfscript>
{code}


<!--- bad --->
{code:java}
<cfscript>
  foo = parameterExists;//coldfusion.compiler.CFMLParserBase$UnsupportedComplexException
  foo = preserveSingleQuotes//coldfusion.compiler.CFMLParserBase$UnsupportedComplexException
  foo = quotedValueList//coldfusion.compiler.CFMLParserBase$UnsupportedComplexException
  foo = valueList//coldfusion.compiler.CFMLParserBase$UnsupportedComplexException
</cfscript>
{code}

Attachments:

Comments: