Hi!
I would like to discuss about MooseModel class>>ownerOf:
I understand the implementation. But this leads to a strange behavior.
For example, the following fails time to time:
element := MooseEntity new.
self assert: (element mooseModel isNil).
It fails since I have written tests about the id generation. And the element may have a
mooseID of a previous object.
What should we do? I can remove the tests about the ID generation, but removing tests is
never good. Would it be possible to use the privateState to store the mooseModel? Are the
hypothesis why we have changed the reference of the mooseModel still valid?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.