Variable undefined errors after upgrading to ColdFusion 2016 Update 12 and onwards
Hello ,
We have been facing certain issues in our application post upgrade from ColdFusion 2016 Update 11 to Update 12 onwards till Update 15. We are now at ColdFusion 2016 Update 15 and still facing the same issue.
The application is not able to identify the varibables inside the nested structure in the <CFIF> <CFELSE> tag. The problem only comes if we have a <CFELSE> tag. If we remove the <CFELSE> tag, the issue goes away. This is hampering all of our application.
If you see the code below-
<CFOUTPUT>
<cfset strAdminName = 'testName'/>
<cfif strAdminName NEQ ''>
#objML.writePrompt('msgContactAdminWithContact', '?AdminName?', stcMLRej, {AdminName=strAdminName})#
<cfelse>
#objML.writePrompt('msgContactAdminNoContact', 'If you have a question regarding your username and password, contact your system administrator.', stcMLRej)#
</cfif>
</CFOUTPUT>
*writePrompt is a function.
Error:- Variable STRADMINNAME is undefined.
Can you please help here to resolve this to make our application running .
