You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/23 15:35:34 UTC

[jira] Commented: (WW-2128) Upgrade to OGNL 2.7

    [ https://issues.apache.org/struts/browse/WW-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41996 ] 

James Holmes commented on WW-2128:
----------------------------------

Unfortunately, this upgrade failed when I attempted it yesterday. I thought it worked at first, but realized later that the Struts 1 plugin failed to compile because of a change to the ognl.PropertyAccessor interface. Previously the ognl.PropertyAccessor interface only had 2 methods that needed to be implemented: getProperty( ) and setProperty( ). In OGNL 2.7, three more methods were added to the interface: getPropertyClass( ), getSourceAccessor( ), and getSourceSetter( ). Unfortunately I don't have enough knowledge at this time of what's necessary to bring the org.apache.struts2.s1.DynaBeanPropertyAccessor class in compliance with the new version of the OGNL PropertyAccessor interface.

> Upgrade to OGNL 2.7
> -------------------
>
>                 Key: WW-2128
>                 URL: https://issues.apache.org/struts/browse/WW-2128
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: James Holmes
>             Fix For: 2.1.0
>
>
> Upgrade the Struts 2 dependency on OGNL from 2.6.11 to 2.7.
> Note that this ticket is for a simple JAR upgrade and does not encompass updating any code to take advantage of the performance enhancements available in OGNL 2.7.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.