You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I'm currently working with managing files in remoteStorage where adding and reading files works fine. However, using the remove function produces this error and doesn't delete the file:
constremoteStorage=newRemoteStorage();remoteStorage.access.claim('*','rw');remoteStorage.connect('[email protected]','token');remoteStorage.on('ready',()=>{console.log('remotestorage is ready');});remoteStorage.on('connected',()=>{constuserAddress=remoteStorage.remote.userAddress;console.debug(`${userAddress} connected their remote storage.`);constclient=remoteStorage.scope('/test-project/');client.remove('index.html').then((x)=>console.log(x)).catch((err)=>console.log(err));});
The text was updated successfully, but these errors were encountered:
This could be an edge case with the default caching strategy (caching is enabled with the SEEN strategy by default) and node.js usage, which uses in-memory caching and where the cache is lost between restarts.
However, it is still a bug, of course, because it should fetch metadata of the remote document again in this case, and delete it upon seeing it's there, before claiming that the document does not exist at all.
Environment:
Hi there,
I'm currently working with managing files in remoteStorage where adding and reading files works fine. However, using the remove function produces this error and doesn't delete the file:
Code:
The text was updated successfully, but these errors were encountered: