struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Private setter method breaking application in Tomcat7
Date Thu, 21 Feb 2013 21:18:42 GMT
I would say, this is a bug in Ognl. The problem is in
OgnlRuntime.__getSetMethod(). This method identified with setter to
use base on matching number of parameters (!!!) and sometimes
setId(long) is first and sometimes setId(Object) is on top. I think it
should be rewritten to match on parameter type not only on the number
of parameters,

Please register an issue, but anyway it's a rare case.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message