Open btsgh opened 2 years ago
6m MySQL usage : 158
Stat | Values |
---|---|
Reach | 158 |
Effort (months) | < |
@ChandanBalajiBP can you please add details about why this is happening and how we can handle the error more gracefulle.
A number with preceding 0's(zeros) is considered an Octal number in Javascript. And javascript recommends adding o next to zero (ex: 0o123).
The above error is generated when the binding is evaluated in Appsmith.
This can also lead to conversion to an octal number from a decimal number.
var octal = parseInt('026', 8); var octal1 = parseInt('030', 8); alert(octal); //22 alert(octal1); //24
now there's a different problem - both the update queries run without error however:
Is there an existing issue for this?
Description
When I run an update query on mysql datasource, in which I bind a value to be entered into a cell of text data type, the prior value in that cell gets removed.
Steps To Reproduce
Screenshot of the octal error that comes up in step 5
Public Sample App
No response
Version
Production