Some results not returned in some circumstances (Brandon Munroe)

Description

A query that previously functioned in 3.0.0.beta1 now only returns a subset of the objects. Entering the exact query into Luke returns the same results as were returned in beta1, not those returned in beta2. Further investigation reveals that any objects that are CGLIB-enhanced are not returned to the query. Using the unproxy(Object) method from the DocumentBuilder in the QueryLoader.load method resolves the issue. Patch is attached.

Environment

None

Status

Assignee

Emmanuel Bernard

Reporter

Brandon Munroe

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

3.0.0.beta2

Priority

Critical