typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

[BUG] Insert Greek characters is not working #50

Closed dicorfu closed 4 years ago

dicorfu commented 4 years ago

Describe the bug When we try to insert Greek text into an entity (MariaDB table) using QL, we get internal server error.

Query insert FinesseLog (log_aa:15.5, log_data:"τεστ", log_user:111)

Model Entity definition in ML Model:

entity FinesseLog {
    Log_date:String
    Log_Branch:String
    LOG_ServerName:String
    LOG_BBBMMK:String
    Log_aa:Real
    Log_ComputerName:String
    Log_time:String
    Log_user:int
    Log_RSTflag:int
    Log_TUN:String
    Log_trancode:String
    Log_data:String
    Log_BankID:String       
}

Expected behavior Data to be inserted into MariaDB table.

Screenshots image

REST API We use Postman. Installed version of QL is 0.1.0.202002040906. When calling the REST API:

Additional context Add any other context about the problem here.

DavyLandman commented 4 years ago

Thanks you for reporting, the bug has been fixed, if you get the latest version (also do a docker-compose pull) and reset the databases, it should be working now.