struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasser.zam...@live.com>
Subject Re: Work in progress - 2.3.16
Date Mon, 25 Nov 2013 06:19:33 GMT
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.krebs@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-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message