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

🐛 Bug Report: Database listDocuments method return old/cached data #77

Closed
2 tasks done
gladbhex opened this issue Oct 4, 2023 · 2 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@gladbhex
Copy link

gladbhex commented Oct 4, 2023

👟 Reproduction steps

Create a document within a collection using 'createDocument' and update using 'updateDocument'. Now fetch the document list using listDocuments returns old data. The same happens even after the entire collection has been deleted, the method returns the data that does not exist. Tried on the incognito tab, and on the first query, it returned the correct data, further updates to the document resulted in the same behavior.

👍 Expected behavior

Should return up-to-date data from database

👎 Actual Behavior

Returns old or deleted documents

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Windows

🧱 Your Environment

appwrite-web-sdk v13.0.0
appwrite server v1.4.4 self-hosted on digitalocean
Frontend React v18.2.0

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@gladbhex gladbhex added the bug Something isn't working label Oct 4, 2023
@stnguyen90
Copy link
Contributor

@gladbhex, thanks for creating this issue! 🙏🏼 Does the Appwrite console behave the same way? What other libraries are you using in your app?

@stnguyen90
Copy link
Contributor

Closing stale, inactive issue

@stnguyen90 stnguyen90 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants