I'm using the changesetArray from the table component in a function that handles updating the rows in my DB. Up until recently, each of the changes in the changesetArray used to include the id of the changed row, but for some reason, it's not there anymore?
Was this an internal change at Retool, or was the id never supposed to be available in the changesetArray anyways?
Tbh, that was the first thing I checked, and it was there, but now it was indeed removed again. Is it possible that this resets automatically sometimes, possibly when there are two rows in the data with the same id?
Because I was having this issue a couple of times now.
I just had this issue. The primary key reset itself to null after adding a column to two different tables. Fixing the primary key fixed the issue here, but you definitely still have a bug where the primary key is reset every single time a row is added to the table. I've noticed this a bunch of different times over the past ~6mo - I've learned to look for it, but it still bites me in the ass occasionally.
Thanks for these details! I'll try to reproduce this and inform our team
[Edit]: I have only been able to reproduce this issue when a new column gets added to the data in the data source or when a builder clicks "regenerate columns". This issue could come up if a new record is added to the data source and that new record includes a property that isn't in the table yet. I don't have a timeline for fixing this yet, but I'll reach out here when it gets fixed