The latest version of Magritte fixes the reported problem without any
#becomeForward: or #doesNotUnderstand: tricks. The idea is simple, it
is a two step process:
1. The empty container description is registered in the cache.
2. The element descriptions are added to the container.
-+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+-
Name: Magritte-Model-lr.239
Author: lr
Time: 14 February 2007, 9:21:13 am
UUID: 51418e16-08d2-4a88-8dcb-1d2b6d786282
Ancestors: Magritte-Model-lr.238
- fixed problem with recursion in MADescriptionBuilder
-+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+-
Name: Magritte-Tests-lr.104
Author: lr
Time: 14 February 2007, 9:21:18 am
UUID: 06eff360-a6fe-49d6-9425-dd87f3d83499
Ancestors: Magritte-Tests-lr.103
- fixed problem with recursion in MADescriptionBuilder
-+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+-
The tests have been updated as well. Hope this helps for your problem?
Now the next step is to get rid of recursion when traversing (e.g.
for validation) cyclic graphs, but I'll wait with that until somebody
complains ;-)
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch