Copy link to clipboard
Copied
Let me start, I do know about the changes in Update 14 related to "extra" arguments, and this is not the same issue, but I think it might be related. The error is that a paramerter can not be found when making a call to a remote function in a CFC.
Here is the top of the function definition:
| struct | |
| Datasource | MYdataSource |
| Password | XXXXXX |
| Username | XXXXXX |
| method | getTable |
This code has worked up until Update 15 on CF 2023. I did uninstall back to Update 12 and installed each update one by one and it worked fine on Update 14, but as soon as I install Update 15 it fails. So this is something that specifically changed in Update 15 of ColdFusion 2023. I did also try update 16, with the same issue as 15. We started at 16 and after the issue we went back starting at 12 and doing each update one at a time with full WSConfig and clearing of all cached files.
I am guessing that it is something about what/when the code is looking at the arguments in determining if they are passed. Up to this point, it has seemed to be after the processing of application.cfm.
I can do:
https://server/AgentListPolicies.cfc?EUDATA=... encrypted string ....&DataSource=&Username=&Password=
Where I pass in blank in the URL and my decription code overrites the blank with the needed value. It is using the values from my decryption code puts into the URL scope without issue. What is weird is that the Method name is in the encrypted data and the EUDATA is in the URL scope until my decrpytion code runs, and I remove it from the URL scope at the same time that I add in the other variables. I have tried with and without the Dcoldfusion.runtime.remotemethod.matchArguments=false flag with no difference.
We use the URL encryption in a lot of places of the code, so we can not add in blank values for all URL calls. I can change the code on this function to make those arguments optional and then check in the code that they are set. I can come up with several ways around this, but I am hoping there is some new setting/configuration argument that I am missing that might resolve this issue.
Is there anything I am missing before I post this to Adobe support?
Thank you.
Copy link to clipboard
Copied
Thanks for the update, @matthewl20646694 .
Copy link to clipboard
Copied
@matthewl20646694 , is it possible for you to update your original post? If so, then could you please change the word "remove" in the title to "remote"? That will help future developers searching for the subject on the web.
Copy link to clipboard
Copied
Hi @Charlie Arehart , thanks for correcting the title.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more