Skip to content

Save New Row in Form on Postgres Data Source #16524

@jhill-mindex

Description

@jhill-mindex

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Similar issue here but much earlier version:
#10142

Hosting

  • Cloud
    • Tenant ID: comida

Describe the bug
When I go to save a new row in my Postgres DB, nothing pops up on screen for an error but the row isn't inserted. I found in the developer tool logs the following Request payload:

{
"apApplicantName": "XXXXX",
"apAddress": "XXXXX",
"apCity": "XXXXX",
"apState": "XXXXX",
"apZIP": "XXXXX",
"__value": {
"apApplicantName": "XXXXX",
"apAddress": "XXXXX",
"apCity": "XXXXX",
"apState": "XXXXX",
"apZIP": "XXXXX"
},
"__valid": true,
"__currentStep": 1,
"__currentStepValid": true,
"tableId": "datasource_plus_b623bc1531d74eaa9836268104314ca6__tblapplicant"
}

with the following Response Payload:

{"status":500,"validationErrors":{"apTaxMapID":["can't be blank"]}}

When I check my Postgres table to see if apTaxMapID is not nullable it only shows that the applicantID column is not nullable, it doesn't show anything about apTaxMapID.

This was working previously and nothing was changed on my side.

Expected behavior
I would expect the save button to insert a new row into Postgres as it was previously.

Desktop (please complete the following information):

  • OS: macOS Sequoia Version 15.5
  • Browser Chrome
  • Version 137.0.7151.120

Additional context
I was able to insert a row into Postgres directly with an INSERT statement even with a NULL apTaxMapID column

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions