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
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
functionconvertToObjectId(datasetId,originalId){varnewObjectId=originalId;if(ObjectID.isValid(originalId)){newObjectId=ObjectID(originalId);}else{debug('[%s] Invalid objectId value : %s',datasetId,originalId);}returnnewObjectId;}
varObjectID=require('mongodb').ObjectID;
the uid and the mongo _id are usually synchronised by the sync framework to be the same, but this does not seem to be happening, thus the deletion breaks down
this issue should affect other operations (such as update/ read a specific entry) to fail also, but have confirmed this yet
Issue
Data items not deleting from collection in mongo after doDelete() is called from the client
Steps to reproduce
A (very rough) set of client & server sync code if needed can be found here to reproduce the issue
Screenshots of issue
Before & after in mongodb collection:
Further info
@wtrocki @aidenkeating @wei-lee pinging you on this as requested
The text was updated successfully, but these errors were encountered: