We are using Spring Boot 4.0.3 and we see these exceptions coming from QueryMapper.filterUnwrappedObjects(..) for all out queries
Exception:
org.springframework.data.mapping.PropertyReferenceException
Message:
No property 'itm' found for type 'CaseEntity'; Did you mean 'id','items'
Stacktrace:
org.springframework.data.mapping.PropertyPath.<init>
org.springframework.data.mapping.PropertyPath.create
org.springframework.data.mapping.PropertyPath.create
org.springframework.data.mapping.PropertyPath.lambda$
org.springframework.data.mapping.PropertyPath$$Lambda.apply
java.util.concurrent.ConcurrentMap.computeIfAbsent
org.springframework.data.mapping.PropertyPath.from
org.springframework.data.mongodb.core.convert.QueryMapper.filterUnwrappedObjects
org.springframework.data.mongodb.core.convert.QueryMapper.mapFieldsToPropertyNames
org.springframework.data.mongodb.core.convert.QueryMapper.getMappedFields
org.springframework.data.mongodb.core.QueryOperations$QueryContext.getMappedFields
org.springframework.data.mongodb.core.MongoTemplate.doFind
org.springframework.data.mongodb.core.MongoTemplate.doFind
org.springframework.data.mongodb.core.MongoTemplate.find
org.springframework.data.mongodb.core.MongoTemplate.find
com.sap.crm.casecommonlib.repository.CaseTRepositoryImpl.findAllByTenantIdAndIdIn
The property is question is called "items" and the field is "itm" e.g.
@Field("itm")
private List<ItemEntity> items;
Why are exceptions being thrown? The exception is caught in filterUnwrappedObjects(..) so it still works however we would like to avoid having exceptions.
We are using Spring Boot 4.0.3 and we see these exceptions coming from QueryMapper.filterUnwrappedObjects(..) for all out queries
The property is question is called "items" and the field is "itm" e.g.
Why are exceptions being thrown? The exception is caught in filterUnwrappedObjects(..) so it still works however we would like to avoid having exceptions.