Closed elordin closed 5 years ago
Code
When clicking the "Add" Button an AddItem message is sent to the apiService Process, where the message handler calls insertItem.
AddItem
apiService
An AJAX request is then created for the database operation on the server.
This requests fails with a 500 Internal Server Error
500 Internal Server Error
Error handling ((headers ((accept */*) (accept-encoding "gzip, deflate, br") (accept-language "de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4") (connection keep-alive) (content-length 724) (content-type application/x-www-form-urlencoded) (dnt 1) (host localhost:8080) (origin http://localhost:8080) (referer http://localhost:8080/) (user-agent "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36 OPR/45.0.2552.812"))) (meth POST) (resource /) (version HTTP_1_1) (encoding (Fixed 724))): (Failure "jsonparse: first argument to a table must be a database")
Database connection works, as the page displays the list items already in the DB when first loading. (Loaded at 422).
Special case of #525
Closing since #525 has been closed.
Code
When clicking the "Add" Button an
AddItem
message is sent to theapiService
Process, where the message handler calls insertItem.An AJAX request is then created for the database operation on the server.
This requests fails with a
500 Internal Server Error
Database connection works, as the page displays the list items already in the DB when first loading. (Loaded at 422).