quant-ux icon indicating copy to clipboard operation
quant-ux copied to clipboard

"Uncaught (in promise) Error: fillString() > Not all parameters replaced!"

Open rozek opened this issue 1 year ago • 5 comments

I'm desperately trying to submit some JSON data (bound to a variable) to a Web Service, but I always get the error

Uncaught (in promise) Error: fillString() > Not all parameters replaced! ... at async o.buildData (RestEngine.js:65:13) at async RestEngine.js:263:17

and my data got heavily blown up - as if the "RestEngine" would interpret my data (what it shouldn't).

How can I solve this problem?

rozek avatar Mar 23 '24 10:03 rozek

well, I solved it by "escaping" any "${" in my data - which is ugly, but feasible.

rozek avatar Mar 23 '24 10:03 rozek

Ok, that is a interesting edge case. The templating mechanism of the rest engine seems to have a bug in here.

KlausSchaefers avatar Mar 23 '24 10:03 KlausSchaefers

yeah, the classical "escaping" problem...

rozek avatar Mar 23 '24 17:03 rozek

Hi, I think I fixed the issue. Could you test again?

KlausSchaefers avatar Mar 25 '24 19:03 KlausSchaefers

sorry for the late response, but I had to meet a submission deadline for another project first...

I'm running Quant-UX in a local Docker container. Is there a new Docker file somewhere?

rozek avatar Apr 03 '24 09:04 rozek