Skip to content

Update data in table view fails for tables with two columns are primary key #1004

@xolyu

Description

@xolyu

Describe the bug
It's not possible to update values in tables (PostgreSQL) in which the primary key is build from two columns. After changing values in the table view, instead of a successful saving the following error occurs:

TypeError: Cannot read properties of null (reading 'replace')

To Reproduce
Steps to reproduce the behavior:

  1. Open PostgreSQL database
  2. Go to table view of table with primary key of two columns
  3. Change value (type is irrelevant; int, varchar, timestamp)
  4. Click somewhere to save
  5. See error

Expected behavior
The changed values should be updated correctly.

Screenshots
Image

Application (please complete the following information):

  • App client: PostgreSQL
  • App version: 0.7.35
  • Installation source: snap

Environment (please complete the following information):

  • OS name: Ubuntu
  • OS version: 24.04
  • DB name: PostgreSQL
  • DB version: 16.9

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions