Re: Bug(?)

Keats Kirsch <[email protected]> Fri, 22 Jul 2005 18:40:40 -0400
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
This turned out to be a trivial fix to the FunctionVariable class.  I'll 
create a unit test and commit the fix this weekend.  I guess I never 
expected folks to use functions this way, but there's no reason not to 
allow it.

Keats

Keats Kirsch wrote:

> Thanks for reporting this bug. I was able to reproduce this behavior 
> using:
>
>    $HTMLEscape("My string").substring(0, 2)
>
> The result was "My string" instead of "My".  The substring just got 
> ignored.  Very strange.
> I will investigate.
>
> Keats
>
> Nikhil G. Daddikar wrote:
>
>> In WM 2.0 (release May 14 2005), if I do this:
>>
>> #set $tasks = $PMUtils().getTasks()
>>
>> then $tasks is set to the object that PMUtils() returns and not to 
>> the list of tasks
>>
>> I think this is a bug, can some one confirm this?
>
>
>
>




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click