mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #74] Transaction Logging error on instantiating AceBaseLocalSettings #53
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @paradis-A on GitHub (Feb 22, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/74
Originally assigned to: @appy-one on GitHub.
I was trying to use transaction logging then got this error:
TypeError: Cannot set properties of undefined (setting 'transactions')
at new AceBaseLocalSettings (C:\System\lenlen\lendb-server\node_modules\acebase\src\acebase-local.js:20:42)
at new AceBase (C:\System\lenlen\lendb-server\node_modules\acebase\src\acebase-local.js:33:19)
at Object. (C:\System\lenlen\lendb-server\test\refupdates.spec.js:2:12)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
fortunately i tried to fix it at acebase-local.js line 19 with this:
dont know it'll produce bad effect in the code i just need it to propagate sorted query without re-querying all over again.
@appy-one commented on GitHub (Feb 23, 2022):
Thanks, I'll fix that
@appy-one commented on GitHub (Feb 23, 2022):
Fixed in v1.15.1, thanks for reporting!