Skip to content

Fix raw document conversion in Collection like properties. #3704

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

Closed
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

Closes: #3702, #3692

Along the lines make sure to convert map like structures correctly if they do not come as a Document, eg. cause they got converted to a plain Map in a post load, pre convert event.
@mp911de mp911de self-assigned this Jul 12, 2021
@mp911de mp911de added this to the 3.2.3 (2021.0.3) milestone Jul 15, 2021
@mp911de mp911de added the type: regression A regression from a previous release label Jul 15, 2021
mp911de pushed a commit that referenced this pull request Jul 15, 2021
Along the lines make sure to convert map like structures correctly if they do not come as a Document, eg. cause they got converted to a plain Map in a post load, pre convert event.

Closes #3702
Original pull request: #3704.
mp911de added a commit that referenced this pull request Jul 15, 2021
Support DBObject and Map that as source for entity materialization and map conversion.

See #3702
Original pull request: #3704.
mp911de pushed a commit that referenced this pull request Jul 15, 2021
Along the lines make sure to convert map like structures correctly if they do not come as a Document, eg. cause they got converted to a plain Map in a post load, pre convert event.

Closes #3702
Original pull request: #3704.
mp911de added a commit that referenced this pull request Jul 15, 2021
Support DBObject and Map that as source for entity materialization and map conversion.

See #3702
Original pull request: #3704.
@mp911de
Copy link
Member

mp911de commented Jul 15, 2021

That's merged, polished, and backported now.

@mp911de mp911de closed this Jul 15, 2021
@mp911de mp911de deleted the issue/3702 branch July 15, 2021 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MappingMongoConverter incorrectly processes an object property of type org.bson.Document
2 participants