Skip to content

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

Closed as not planned
@gladbhex

Description

@gladbhex

👟 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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions