molgenis / molgenis

MOLGENIS - for scientific data: management, exploration, integration and analysis.
https://molgenis.org
GNU Lesser General Public License v3.0
111 stars 97 forks source link

EMX with attributes sheet doesn't import data #6853

Closed mark-de-haan closed 7 years ago

mark-de-haan commented 7 years ago

How to Reproduce

Expected behaviour

Test succeeds

Observed behaviour

Test fails.

Notes

When debugging, looking at base_APITest3, the metadata is imported, but the data is not. PR #6814 did some stuff with the importer and import modi. This might be the cause.

EDIT: Confirmed that after reverting #6814 the tests work again EDIT: The importer via the UI also can not import this file

EDIT: EMX files without a Package and Entity sheet only import metadata

The REST tests import via the import API with the following parameters:

 .param("file")
 .param("action", "ADD_UPDATE_EXISTING")
 .header(X_MOLGENIS_TOKEN, adminToken)
 .post("plugin/importwizard/importFile")
LuukDijkhuis commented 7 years ago

Ik zou geen bugs inschieten voor broken tests

dennishendriksen commented 7 years ago

@LuukDijkhuis This issue is an actual importer issue in https://github.com/molgenis/molgenis/tree/master so should be reported (and should've described the user issue instead of a failing test).