8000 Adding EntityType as extend of another EntityType via MetaDataApi does not work · Issue #9403 · molgenis/molgenis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Adding EntityType as extend of another EntityType via MetaDataApi does not work #9403
Open
@dtroelofsprins

Description

@dtroelofsprins

How to Reproduce

https://molgenis.gitbook.io/molgenis/interoperability/guide-api-metadata, try to create a new entity type with extend (post metadata)
with something like this:
{ "id": "eu_bbmri_eric_test", "package": "eu_bbmri_eric", "label": { "defaultValue": "Test Table", "translations": {} }, "description": { "defaultValue": "Test extend table", "translations": {} }, "extends": "eu_bbmri_eric_ontology_terms" }

Expected behavior

The table is created

Observed behavior

Error: "attributes must not be empty"

When including "attributes" : [] or something like that, it also results in an error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0