+
Skip to content

Left-over instance references after EReference was deleted #141

Open
@annighoefer

Description

@annighoefer

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(...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载