-
I have a postgresQL table with an auto-increment primary key and also a many to many relationship to another table via a reference table (containing both keys). I can create and save records and all is well. However, if I try to delete a record the UI just returns an error message saying "missing". That is it! I have no idea why. If I use the automatically generated CRUD function (in Data) for the table I am able to delete the record OK, so I am clearly doing something wrong. The deletion occurs on a button with a "Delete row" action specifying the row id. There is nothing obvious in the chrome developer console other than the fact that the DELETE http request to the "rows" endpoint gets a 404 error. The payload is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No sooner did I post that question that I found out that the delete action was specifying the wrong table! Although my immediate problem is gone, it would be useful to find out the answer to diagnosing/debugging back-end issues like this. |
Beta Was this translation helpful? Give feedback.
No sooner did I post that question that I found out that the delete action was specifying the wrong table!
Although my immediate problem is gone, it would be useful to find out the answer to diagnosing/debugging back-end issues like this.