2017-10-12 19:06 GMT+02:00 Yasser Zamani <yasser.zam...@live.com>:
> On 10/12/2017 4:03 PM, Ej Magdaluyo wrote:
>>                 *if*(fileRequestWrapper!=*null*  &&fileRequestWrapper
>> .getErrors()!=*null*){
>
> I worked and found the bug :) the new version of MultiPartRequestWrapper
> instantiates it's `error` inside it's constructor. So you should rewrite
> above as:
>
> if(fileRequestWrapper!=null && fileRequestWrapper.hasErrors()){

Great! Thanks for finding this, I think we can fix it in 2.5.14, Ej do
you mind opening a ticket in JIRA?


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