-
-
Notifications
You must be signed in to change notification settings - Fork 415
Open
Labels
Description
In Moose we have FMOne and FMMany slots that keep a bidirectional relation between what is in the slot.
The problem is that if we remove a slot, it migrates the instances and when we try to migrate the slots, an error happens because the opposite slot is not there anymore. And the error causes Pharo to just crash when we close the debugger.
I see two things to do here:
- The class builder should not crash the image if a slot raises an error during migration
- We should have a way in slots to do an alternative writing when we are in a class migration. In this case, we would not try to maintain the bidirectional relation since it already exists.
What do you think @MarcusDenker?
Reactions are currently unavailable