8000 Compounds can be their own parent and children can be the parent of their parent · Issue #8462 · molgenis/molgenis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Compounds can be their own parent and children can be the parent of their parent #8462
Open
@marikaris

Description

@marikaris

How to Reproduce

Import a dataset with a compound in it (
invuse.xlsx
)
Go to dataexplorer
Go to attributes table
Make the compound its own parent (make functionTest the parent of functionTest)
Save

Expected behavior

I cannot select the name of the same compound or one of its children in the first place.

Observed behavior

I can assign the same compound as parent. After that the compound disappears from the table in the dataexplorer/add row, but it's still in the attributes table and the database. I cannot delete my table anymore:
Screen Shot 2019-04-26 at 11 14 31

Notes:

  • I cannot undo this, if I remove the parent functionTest for functionTest again and save, it's still there
    plus this beautiful error in the console:
    Screen Shot 2019-04-26 at 11 30 13

  • I cannot do this in the metadata manager, because the tree in that view simply cannot be build with circular dependencies. The save button stays disabled, but no error message shows. When you hack the save button to be not disabled and I save, I get a console error telling me about the circular dependency

  • You can also add a child of a compound as its parent, the same behaviour occurs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0