I don't override anything in my pom.xml files in regards to OGNL.  Looking
at the dependency analyzer, the resolved OGNL version is v3.1.26.  And I am
including struts with the following dependencies.

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
            <version>2.5.22</version>
        </dependency>
        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-spring-plugin</artifactId>
              <version>2.5.22</version>
        </dependency>
        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-json-plugin</artifactId>
              <version>2.5.22</version>
        </dependency>2.5.22



On Sun, Dec 29, 2019 at 12:35 PM Lukasz Lenart <lukaszlen...@apache.org>
wrote:

> niedz., 29 gru 2019 o 19:34 Burton Rhodes <burtonrho...@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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to