[GH-ISSUE #59] Failed to add to transaction log: Cannot store arrays with missing entries #44

Closed
opened 2026-05-23 08:27:50 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @appy-one on GitHub (Jan 3, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/59

Originally assigned to: @appy-one on GitHub.

When the value of an array is updated with transaction logging switched on, the error "Failed to add to transaction log: Cannot store arrays with missing entries" will be thrown. This is because AceBase does not store sparse arrays, and updates to array values (being written to the transaction log) are always sparse. To fix this, those mutations in the transaction log will have to be either stored as an object or string.

Originally created by @appy-one on GitHub (Jan 3, 2022). Original GitHub issue: https://github.com/appy-one/acebase/issues/59 Originally assigned to: @appy-one on GitHub. When the value of an array is updated with transaction logging switched on, the error `"Failed to add to transaction log: Cannot store arrays with missing entries"` will be thrown. This is because AceBase does not store sparse arrays, and updates to array values (being written to the transaction log) are always sparse. To fix this, those mutations in the transaction log will have to be either stored as an `object` or `string`.
gitea-mirror 2026-05-23 08:27:50 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#44
No description provided.