You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have issues with objects that still have an reference instance left over, after the corresponding EReference of the EClass was deleted using .delete(). In this case the reference is still there, but the type in None an makes a .delete() of the object fail. This happened only for EReferences not for EAttributes so far. To fix this, I manually search all instance of the class of the deleted EReference and if hasattr(obj,reference.name) is true, I call delattr(...).
The text was updated successfully, but these errors were encountered:
Thanks a lot for the issue, and really sorry for the delay of the answer. I'm trying to get back on track slowly.
If I understand well, the issue comes from the fact that you delete a EReference (let's say myref) of a EClass and you want the existing instances of the EClass to have the relationship myref removed? Or is it related to something else? If you have a small test-case, that could help me to target better your issue :)
I have issues with objects that still have an reference instance left over, after the corresponding EReference of the EClass was deleted using .delete(). In this case the reference is still there, but the type in None an makes a .delete() of the object fail. This happened only for EReferences not for EAttributes so far. To fix this, I manually search all instance of the class of the deleted EReference and if hasattr(obj,reference.name) is true, I call delattr(...).
The text was updated successfully, but these errors were encountered: