Status/Resolution/Reason: Closed/Withdrawn/LowImpact
Reporter/Name(from Bugbase): Dan S. / ()
Created: 04/05/2019
Components: Language, Functions
Versions: 2016,11.0,2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: All builds of CF11+ / NA
Priority/Frequency: Normal / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 2
Problem Description:
Adobe ColdFusion 11, 2016 and 2018 all have an undocumented function named _insert() that appears to be just like the documented insert() function.
Steps to Reproduce:
{code:java}
<cfscript>
_insert("hello");
</cfscript>
{code}
This causes issues with code that named private functions _insert() to work around the fact that insert() is a reserved name.
Actual Result:
Parameter validation error for the _INSERT function.
The function takes 3 parameters.
Expected Result:
The function should not exist.
Any Workarounds:
Refactor code to not use the name "_insert" for a private function.
Attachments:
Comments: