struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: S2.5.22 custom StrutsTypeConverter values parameter has changed?
Date Sun, 29 Dec 2019 18:35:45 GMT
niedz., 29 gru 2019 o 19:34 Burton Rhodes <burtonrhodes@gmail.com> napisał(a):
>
> After upgrading to v2.5.22 my custom StrutsTypeConverters are having issues
> when the passed html form parameter is empty (or null).
>
> Specifically in my overridden convertFromString(context, values, toClass)
> method, the values parameter now contains
> values[0]="ognl.NoConversionPossible".  In v2.5.20, the values[0]="".
>
> Do you know why values[] contains this error text rather than the actual
> empty value like it used to?  Is there a setup issue on my end?

Do you use the same version of OGNL as provided with Struts?


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