2013/11/19 Volker Krebs <volker.kr...@abas.de>:
> Ok, got it.
> <s:if test="#item.content[key] != null">
> </s:if>
> In 2.3.15.3 it returns true.
> In 2.3.16 it returns false.
>
> This is because I was accessing the map wrong (arghhh ... OGNL, after so
> many years still unhandleable)
> In 2.3.15.3 a new map entry with key null and value '' is created somewhere
> in the struts2 stack. And #item.content[key] evaluates to
> #item.content[null] which returns ''.
>
> In 2.3.16 the new map entry is not created. And #item.content[key] always
> returns null without creating a new map entry.

I think it is related to that issue
https://issues.apache.org/jira/browse/WW-3603

I will update Version Notes as well


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to