Error with overlapping updates under array and map "Updating the path [..] would create a conflict at [..]" #11764
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Assigning fields of an object under an array as well as assigning the object itself fails to save. See script below
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Save() does not throw error
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
mongoose 6.3.2
mongo v4.2.8
node v16.13.1
The text was updated successfully, but these errors were encountered: