What has taken the new version to release? May I help?

On Tue 19 Nov 2013 06:21:23 PM IRST, Lukasz Lenart wrote:
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

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

Reply via email to