molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
14 stars 16 forks source link

Table explorer expects to find 'local name' in Resources table #4264

Open BrendaHijmans opened 2 days ago

BrendaHijmans commented 2 days ago

What version of EMX2 are you using (see footer) 11.14.1

Describe the bug The table explorer expects to find a column 'local name' in the Resources table. This is not present in the 4.0 'Networks staging model', so the Resources table cannot be viewed in a network staging area.

image

To Reproduce Steps to reproduce the behavior:

  1. Go to https://data-catalogue-acc.molgeniscloud.org/testNetwork/tables/#/Resources

Expected behavior I want to be able to view the Resources table in the network staging area.

connoratrug commented 2 days ago

maybe a mismatch between schema and data ( did you use the service or the data base to get the data in ) , the column 'localName' seems to be missing from schema 'testNetwork but is part of 'catalogue', the testNetwork.resources column refers to the catalogue.resources column , is this by design ? . could also be a mistake in the query generation not really sure what needs to happen when it encounters column form a other schema

BrendaHijmans commented 1 day ago

Resources.resources refers to the catalogue Resources table. This is by design, we need to be able to express from a staging area of a network which resources are involved. Data was imported via api call and zip upload. localName is not in networks staging model on purpose.