Checkboxes and actions doesn't work if record doesn't have a field called "id"

What is the name of the domain?

Not related

What is the error number?

None

What is the error message?

None

What is the issue you’re encountering

I found this bug in D1 table view. For some tables we use compound ids from 2 and more fields, so there isn’t a field called “id”. In such conditions, when you click on a checkbox for an individual record, all records become selected. Although this is not a major problem, actions for records are. If you do Delete for a specific record without column “id” all records are deleted. Most likely it happens for Update as well.

What are the steps to reproduce the issue?

  1. Create a D1 table with a compound ID and without an " id " field.
  2. Fill it with data. 3 records should be enough for testing
  3. Select the checkbox for any of the records. See how checkboxes behave.
  4. Deselect all checkboxes.
  5. Select the “Delete” action for an individual record. See how all the records are deleted.

This topic was automatically closed after 15 days. New replies are no longer allowed.