octobercms/october · error · Error
Record with they key {key} is not found in the data set
Error message
Record with they key {key} is not found in the data set What it means
Error "Record with they key {key} is not found in the data set" thrown in octobercms/october.
Source
Thrown at modules/backend/widgets/table/assets/js/table.datasource.client.js:103
this.getRecords(offset, count, onSuccess)
}
/*
* Updates a record with the specified key with the passed data
*
* - key - the record key in the dataset (primary key, etc)
* - recordData - the record fields.
*/
Client.prototype.updateRecord = function(key, recordData) {
var recordIndex = this.getIndexOfKey(key)
if (recordIndex !== -1) {
recordData[this.tableObj.options.keyColumn] = key
this.data[recordIndex] = recordData
}
else {
throw new Error('Record with they key '+key+ ' is not found in the data set')
}
}
/*
* Deletes a record with the specified key.
*
* - key - the record key in the dataset (primary key, etc).
* - newRecordData - replacement record to add to the dataset if the deletion
* empties it.
* - offset - the current page's first record key (zero-based)
* - count - number of records to return
* - onSuccess - a callback function to execute when the updated data gets available.
*
* The onSuccess callback parameters: records, totalCount.
*/
Client.prototype.deleteRecord = function(key, newRecordData, offset, count, onSuccess) {
var recordIndex = this.getIndexOfKey(key)
View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/widgets/table/assets/js/table.datasource.client.js:103 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/ca6347eed445e30e.
Report an issue: GitHub.