MauroDataMapper/mdm-ui

Unable to copy Data Elements to a Data Standard

Closed this issue · 1 comments

Purpose: Attempting load DD4C content into Mauro as an Data Standard

Having ingested using the CSV data model ingester into Mauro folder, then added a Data Model to the same folder.
Manually created a Data Class in the Data Model, with the intention of copying Data Elements USING Data Elements from the original CSV ingested content.

Am able to successfully select the CSV Fields Data Class, but when I click "Next Step", instead of presenting a pick list of Data Elements within the CSV Fields class, I get a 400 error.

{
"headers": {
"normalizedNames": {},
"lazyUpdate": null
},
"status": 400,
"statusText": "OK",
"url": "https://modelcatalogue.cs.ox.ac.uk/nhsd-test/api/dataModels/undefined/dataClasses/f4bc5af5-3c42-4fc4-948e-3f99f9009822/dataElements?max=20",
"ok": false,
"name": "HttpErrorResponse",
"message": "Http failure response for https://modelcatalogue.cs.ox.ac.uk/nhsd-test/api/dataModels/undefined/dataClasses/f4bc5af5-3c42-4fc4-948e-3f99f9009822/dataElements?max=20: 400 OK",
"error": {
"status": 400,
"reason": "Bad Request",
"errorCode": "DMSI01",
"message": "No DataModel Id provided against secured resource",
"path": "/api/dataModels/undefined/dataClasses/f4bc5af5-3c42-4fc4-948e-3f99f9009822/dataElements",
"devMode": false,
"version": "4.12.0-SNAPSHOT"
}
}

Before hitting next step
image

AFTER hitting next step
image

Hi @alanpnhs,

Apologies for the delay in getting to this issue. I have tried Copying and Using Data Elements from a CSV imported Data Model in the NHSD Test instance just now, and this worked successfully, so I think this issue has been resolved in a subsequent release. If the error reoccurs please reopen the issue and we'll have a look.