Re: [Webwork-devel] Bug in Subset tag?
Brought to you by:
baldree,
rickardoberg
From: Matt B. <ma...@sm...> - 2002-06-24 00:06:02
|
Fixed SubSet as well as Generator, Sort, and Iterator tags. If the value is null, they will log a warning but return false to hasNext(). ----- Original Message ----- From: "Mike Cannon-Brookes" <mi...@at...> To: <web...@li...> Sent: Sunday, June 23, 2002 5:45 AM Subject: [Webwork-devel] Bug in Subset tag? > At the moment the subset tag throws an IllegalArgumentException if you try > to get a subset of a parameter with value null. > > IMHO it should operate like the iterator tag and just return no result? (ie > ignore the null nicely and quietly like all other tags in ww) > > Is this a bug? Any reason why the current one throws IAE? > > Cheers, > Mike > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel > > |