Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: update document was broken when key is like child.mapmap.1012.2 #4513

Open
hu-chia opened this issue Sep 26, 2023 · 3 comments
Open

BUG: update document was broken when key is like child.mapmap.1012.2 #4513

hu-chia opened this issue Sep 26, 2023 · 3 comments
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@hu-chia
Copy link

hu-chia commented Sep 26, 2023

when I try to make an update { $set: { "a.b.1.2": 1 } }, the actually executed update was { $set: { "a.b.1": 1 } }.

https://github.com/hu-chia/minimal-reproduce-to-mongo-update-be-broken/blob/64fa3dc694c0db3b1813d3718194bd5be4e4ccd6/src/test/java/com/example/mongoupdate/TestMongoUpdateApplication.java#L30

minimal reproduce

https://github.com/hu-chia/minimal-reproduce-to-mongo-update-be-broken.git

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 26, 2023
@hu-chia
Copy link
Author

hu-chia commented Sep 26, 2023

@christophstrobl
Copy link
Member

@hu-chia thanks for reporting - we'll have a look.

@christophstrobl
Copy link
Member

Thank you for the reproducer - this one seems to be related to #4502 though slightly different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants