On 09/12/2013 13:28, Sergey Beryozkin wrote:
org.apache.cxf.jaxrs.ext.search.jpa.JPATypedVisitorTest has few tests
where collections of primitive and complex types are used.

Can you please open a JIRA and prototype the way the beans are linked to
each other (please narrow it down to the faulty path only), somehow the
parser has got confused, needs to be fixed

Thanks, Sergey

Thanks Sergey.
Created https://issues.apache.org/jira/browse/CXF-5449, mainly as a copy of this email.
I /think/ the failure occurs when you have:
1. A parent entity containing a list of children.
2. The children entities contain a single grandchild.
3. The search is for a property of the grandchild.
And it fails when it tries to set the grandchild in the child.

I've actually got another layer in the hierarchy (great-grandchild), but given where the exception comes from I suspect that isn't needed to cause the failure.

Jim


Reply via email to