Build #2

Build: #2 was successful Code changes detected

Build result summary

Details

Completed
Duration
3 minutes
Labels
None
Revision
94387d7fb7d35f3e157d64f7afd884bc98c846e3 94387d7fb7d35f3e157d64f7afd884bc98c846e3
Total tests
3034
Successful since
#1 ()

Tests

Code commits

Author Commit Message Commit date
Oliver Drotbohm Oliver Drotbohm 94387d7fb7d35f3e157d64f7afd884bc98c846e3 m 94387d7fb7d35f3e157d64f7afd884bc98c846e3 DATAMONGO-2068 - Avoid registration of a default MongoMappingContext bean.
The default registration causes a bean of type MongoMappingContext to always be available in the ApplicationContext which makes Spring Boot's auto-configuration that applies entities obtained by a custom scan to the context. This will cause our default one MappingContext not see those entities during initialization and thus polymorphic queries to not work properly as type aliases require the entities to having been inspected already.

In manual configuration, users will have to take care of the proper bean declarations already or just extend AbstractMongoConfiguration which will ensure the proper setup anyway.

Related tickets: spring-projects/spring-boot#14177
Oliver Drotbohm Oliver Drotbohm 497c8fab7937bb4ece2227bf3ee984afdf40920d m 497c8fab7937bb4ece2227bf3ee984afdf40920d DATAMONGO-2068 - Prepare feature branch

Jira issues

IssueDescriptionStatus
Unknown Issue TypeDATAMONGO-2068Could not obtain issue details from Jira