-sigh- Another Duplicate Bug

Duplicate must be the cursed function of CF. Recently I posted about a hotfix that was put out to correct issues with Duplicate. Rob Brooks-Bilson noted that there still seems to be issues:

Unfortunatley, it looks like this hot fix STILL doesn't fix all duplicate issues. I'm running into a problem while porting a (badly) written CF 4.5 application where a structure of arrays that is being manipulated by reference then passed to a COM method is causing an error. If I serialize then immediately deserialize the struct of arrays before passing it to the COM object, all is well. Using duplicate, however, results in a COM automation error in CFMX.

I haven’t been able to test this yet, but it looks like the function may still need tweaking.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com

Comments