[Magritte] exercices

Lukas Renggli renggli at gmail.com
Sun Jun 11 19:52:44 UTC 2006


> I found the solution might be:
>
> MAPersonModel>>description
>         ^super description copy;
>                 add: CustomDescription ;
>                 yourself
>
> But it appears to lock the image, when updating from the web browser
>
> Then if I execute a few 'MAPersonModel new description', I got a growing
>    description (insepcting 'MAPersonModel description'), which may
> explain the locked image. However I don't understand what make the
> description growing.

I can't investigate your problem in my own image right now, but I
think you should use #addAll: instead of #add:. Just from looking at
your code I don't exactly understand what causes the described
problem, very likely this is a bug in Magritte.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list