Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
4.2.12
-
None
-
ALL
-
Description
The index of `$pull`ed element in an unrelated field becomes `$(update)` when `$set`ting another field. See steps to reproduce. Expected result is to set `{data: "Z"}` on the forth element, but it actually set it on the second element, due to pulling the second element of another unrelated field.
Attachments
Issue Links
- duplicates
-
SERVER-18500 Resolve ambiguity of positional projections with multiple implicit array traversal predicates in certain cases
-
- Backlog
-
- related to
-
DOCS-14267 Clarify ambiguous $ positional operator behavior when matching multiple arrays
-
- Closed
-