Operational Defect Database

BugZero found this defect 2454 days ago.

MongoDB | 391644

[SERVER-29515] Invalid "cannot use part of (results of results.answers) to traverse elemt

Last update date:

10/27/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Similar to SERVER-20171, except that client is trying to remove elements from arrays of arrays. There are only two documents in the collection

Top User Comments

tess.avitabile commented on Thu, 8 Jun 2017 20:30:46 +0000: Correct, the syntax in the ticket would still be an error. lorne.schachter commented on Thu, 8 Jun 2017 20:22:48 +0000: Tess, That would be the new syntax, right? Thanks, Lorne tess.avitabile commented on Thu, 8 Jun 2017 20:12:04 +0000: Yes, if I understand what they are trying to do, they could write db.survey.update( {}, { $pullAll : {"results.$[].answers": ["a3", "a4"]}}, { multi : true}) david.storch commented on Thu, 8 Jun 2017 20:03:23 +0000: justin.seyster tess.avitabile, your work on array updates will eliminate this limitation, correct?

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...