appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.32k stars 3.72k forks source link

[Bug]-[Infinity]:Smart Substitution parses formatted string texts incorrectly. #17027

Open sondermanish opened 2 years ago

sondermanish commented 2 years ago

Is there an existing issue for this?

Description

When a query with smart substitution turned on is sent for execution with a binding of nature "sometext{{bindedVariable}}", it evaluates to "sometext""" and hence throws error.
I.e: var a = "world" and the query looks like "Hello {{a}}" it evaluates to "Hello "World"" and the query fails to execute.

Steps To Reproduce

Public Sample App

No response

Version

1.8.3

sribalajig commented 2 years ago

Affects REST API users, 6m REST API usage : 5000

Stats

Stat Values
Reach 5000
Effort (months) <>
sribalajig commented 1 year ago

@sondermanish can you please figure out what the estimate for this is.