-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUDI-6924] Empty .update() call detected error displayed when updating a table record from the side panel #10387
Comments
@kyousry if possible, could you please share your database schema with us or an app export, so we can debug? |
here is the DB schema, I tried with both postgres and MySQL , both show the same error CREATE TABLE IF NOT EXISTS teams ( CREATE TABLE IF NOT EXISTS employees (
); INSERT INTO teams (name) VALUES ('CRM'); INSERT INTO employees ( first_name, last_name, title, reporting_to, team_id) INSERT INTO employees ( first_name, last_name, title, reporting_to, team_id) |
Hello @kyousry. I could not reproduce the issue, neither using MySQL nor Postgres. Could you please provide an app export to be able to reproduce it from our end? |
Hi, I have the same bug which popped while I was investigating another one. I can share an export and/or fill my own detailed issue as you prefer. The bug arise when creating a new "organisation" linked to two "persons" via a one to many relationship, on a self hosted docker-compose based installation (freshly updated) while using postgresql, and a list view template. |
Closed as duplicated of #10688 |
-------------------environment details
I am using the free plan on the cloud
version of Budibase: 2.5.7
Data Source: External MySQL Cloud Server
Tenant ID: test500
app name: my-first-app
OS: windows
Browser: Chrome 112.0.5615.121
-------------------bug description
when trying to update a table from the side panel
it displays a red popup with the below message:
Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: teams2. Columns: .
-------------------bug details
the row is updated though
I can see the correct/expected new value after refresh
so it displays the error, plus update the row.
the table I am trying to update is (employees) linked to another (teams) via one to many relationship
steps to reproduce
display a screen with a table block
click one row of the table
sid epanel shows
update values
press save
error shows
table gets updated
Expected behaviour
error should not be displayed
BUDI-6924
The text was updated successfully, but these errors were encountered: