[
http://www.stripesframework.org/jira/browse/STS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-46.
-------------------------
> OgnlCustomNullHandler won't create second level objects
> -------------------------------------------------------
>
> Key: STS-46
> URL: http://www.stripesframework.org/jira/browse/STS-46
> Project: Stripes
> Issue Type: Bug
> Reporter: Greg Hinkle
> Assignee: Tim Fennell
> Fix For: Release 1.0
>
>
> I think this may be a problem with the new way we get the type of a property
> to bind. By only instantiating to n-1 on the property tree the
> OgnlCustomNullHandler thinks it the last element and doesn't create one for
> us. This is a problem because now we manually want to get the return type of
> an object that doesn't exist.
> It only occurs on properties at least three levels deep.
> So User.email works fine, but filter.criteria.email fails (NPE getting the
> class of filter.criteria)
> If we just remove the limitation of not building the last property in
> OgnlCustomNullHandler, the problem goes away. (Not sure what other
> consequences that would have)
> Its line 55, I removed the -1 from the maxIndex;
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development