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
In some cases there is an error in mongodb node module
Step to reproduce
Steps to reproduce the behavior:
Import Verra\Verra Redd\VM0044 policy
Run it in dry run, create Project_proponent user, create project, add it by administrator
Create VVB user, assing created project to this user
Check status history and console of policy service
Expected behavior
Waiting for validation should be presented 2 times (or 1?)
Actual behavior
Now "Waiting for validation" is presented 3 times. 1 time right after it was added by administrator, and 2 times after it was assigned to VVB.
Also there is an error in the policy service console:
2023-11-17T11:24:53.693Z [GUARDIAN_SERVICE,3ddad476-20bf-4103-803e-6eb793b1b690,sendToGuardianBlock,save_assign,6554ca6d393ee331e0a7d633]: runAction
MongoRuntimeError: File not found for id 65574d3951582bf6ebd2ca47
at GridFSBucket.delete (C:\Users...\guardian\node_modules\mongodb\lib\gridfs\index.js:70:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[Symbol(errorLabels)]: Set(0) {}
Fixed partially, duplicate events are a special case. Issue may occur when we are trying to update documents in parallel threads and it requires a more complex solution.
Problem description
In some cases there is an error in mongodb node module
Step to reproduce
Steps to reproduce the behavior:
Expected behavior
Waiting for validation should be presented 2 times (or 1?)
Actual behavior
Now "Waiting for validation" is presented 3 times. 1 time right after it was added by administrator, and 2 times after it was assigned to VVB.
Also there is an error in the policy service console:
2023-11-17T11:24:53.693Z [GUARDIAN_SERVICE,3ddad476-20bf-4103-803e-6eb793b1b690,sendToGuardianBlock,save_assign,6554ca6d393ee331e0a7d633]: runAction
MongoRuntimeError: File not found for id 65574d3951582bf6ebd2ca47
at GridFSBucket.delete (C:\Users...\guardian\node_modules\mongodb\lib\gridfs\index.js:70:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[Symbol(errorLabels)]: Set(0) {}
Private Zenhub Image
The text was updated successfully, but these errors were encountered: