[GH-ISSUE #35] TypeError: rollbackUpdates is not an Object #22

Closed
opened 2026-05-23 08:34:40 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @donl on GitHub (Oct 30, 2022).
Original GitHub issue: https://github.com/appy-one/acebase-client/issues/35

Originally assigned to: @appy-one on GitHub.

I was seeing this error when trying to update an object with a new, previously undefined, property. set worked and then eventually update behaved as well.

If I can reproduce it further, I will provide more info.

Thanks!

[Error] [default] Failed to update cache for "bazz". Error: 
TypeError: rollbackUpdates is not an Object. (evaluating 'prop in rollbackUpdates')
(anonymous function) — api-web.ts:1751
forEach
(anonymous function) — api-web.ts:1750
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
	error
	(anonymous function) (acebase-client.js:6084)
	promiseReactionJob
Originally created by @donl on GitHub (Oct 30, 2022). Original GitHub issue: https://github.com/appy-one/acebase-client/issues/35 Originally assigned to: @appy-one on GitHub. I was seeing this error when trying to `update` an object with a new, previously `undefined`, property. `set` worked and then eventually `update` behaved as well. If I can reproduce it further, I will provide more info. Thanks! ``` [Error] [default] Failed to update cache for "bazz". Error: TypeError: rollbackUpdates is not an Object. (evaluating 'prop in rollbackUpdates') (anonymous function) — api-web.ts:1751 forEach (anonymous function) — api-web.ts:1750 asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob error (anonymous function) (acebase-client.js:6084) promiseReactionJob ```
gitea-mirror 2026-05-23 08:34:40 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@appy-one commented on GitHub (Oct 30, 2022):

Good catch! Moving this issue to the acebase-client repo

<!-- gh-comment-id:1296211791 --> @appy-one commented on GitHub (Oct 30, 2022): Good catch! Moving this issue to the `acebase-client` repo
Author
Owner

@appy-one commented on GitHub (Oct 30, 2022):

Hi Don, I fixed this in acebase-client v1.18.3

<!-- gh-comment-id:1296226126 --> @appy-one commented on GitHub (Oct 30, 2022): Hi Don, I fixed this in acebase-client v1.18.3
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-client#22
No description provided.