Description
If you sent incorrect values to the API for setting variables of types that the variable doesn't belong to, the value is set without errors; but sometimes I even got an error like "not possible to compare != between bool and string" and response 500 from server.
Steps to Reproduce
1 - Start the server with the API enabled.
2 - Send a body with the incorrect type. Example for an Integer variable: { "Value": false }
3 - Listen for the variable change with a common event; you'll see the value change to false if you add it to the chat.
Version with bug
v0.8.0.564-beta+22fee7b2380c93cccc734f0ddf1f5f31a9afa114
Last version that worked well
Unknown
Affected platforms
Windows 10
Is this bug platform-specific?
Did you find any workaround?
No response
Relevant log output
Duplicate Bug Check
Description
If you sent incorrect values to the API for setting variables of types that the variable doesn't belong to, the value is set without errors; but sometimes I even got an error like "not possible to compare != between bool and string" and response 500 from server.
Steps to Reproduce
1 - Start the server with the API enabled.
2 - Send a body with the incorrect type. Example for an Integer variable: { "Value": false }
3 - Listen for the variable change with a common event; you'll see the value change to false if you add it to the chat.
Version with bug
v0.8.0.564-beta+22fee7b2380c93cccc734f0ddf1f5f31a9afa114
Last version that worked well
Unknown
Affected platforms
Windows 10
Is this bug platform-specific?
Did you find any workaround?
No response
Relevant log output
Duplicate Bug Check