Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dexie cloud db entries with image blob disapear #1988

Open
retotito opened this issue May 9, 2024 · 2 comments
Open

dexie cloud db entries with image blob disapear #1988

retotito opened this issue May 9, 2024 · 2 comments

Comments

@retotito
Copy link

retotito commented May 9, 2024

Hy there I have been using some db entries containing small image blobs.
It works fine with dexie js.
But with dexie cloud, these db entries that contain image blobs, disapear somehow.
Just after saving it to de db i can still get the entrie, but then it is gone.
Probably after syncing to the dexie cloud.

Im also getting the following "rejection" in the sync response:

Sync response Object { changes: (2) […], rejections: (1) […], dbId: "z9c1xige1", realms: (2) […], inviteRealms: [], serverRevision: "1:325", schema: {…} } ​ changes: Array [ {…}, {…} ] ​ dbId: "z9c1xige1" ​ inviteRealms: Array [] ​ realms: Array [ "rlm-public", "retotito@gmail.com" ] ​ rejections: Array [ {…} ] ​​ 0: Object { name: "ReferenceError", message: "XMLHttpRequest is not defined", txid: "w0ytm4SqlruwS/yfXGD/qA==" } ​​ length: 1 ​​ <prototype>: Array [] ​ schema: Object { notes: {…}, roles: {…}, images: {…}, … } ​ serverRevision: "1:325"

@dfahlander
Copy link
Collaborator

Thanks 🙏 I'll try to reproduce

@chestercharles
Copy link

chestercharles commented May 13, 2024

I'm encountering a similar issue. I'm able to save the file to IndexDB, but when I login with another client, the data that is synced has an empty object instead of the blob.

After upload:
image

When synced to another client:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants