NHSDigital / DataDictionaryPublication

Apache License 2.0
7 stars 1 forks source link

Copying Data Set Sub Group #496

Open AngelaFaulding opened 3 months ago

AngelaFaulding commented 3 months ago

Peter explained on Monday that we could copy a data set sub group from one data set to another. This will be really helpful to us so I tested it by trying to copy:

image

Not Found

We're sorry, but the server returned a 'Not Found' error

Details

{
  "headers": {
    "normalizedNames": {},
    "lazyUpdate": null
  },
  "status": 404,
  "statusText": "OK",
  "url": "https://mauro.dev.dataproducts.nhs.uk/api/dataModels/709336ab-eedf-4804-9162-d5ee7b8b44af/dataClasses/9d069cec-bf41-4c9b-8cc0-a9fa79222a5d",
  "ok": false,
  "name": "HttpErrorResponse",
  "message": "Http failure response for https://mauro.dev.dataproducts.nhs.uk/api/dataModels/709336ab-eedf-4804-9162-d5ee7b8b44af/dataClasses/9d069cec-bf41-4c9b-8cc0-a9fa79222a5d: 404 OK",
  "error": {
    "path": "/api/dataModels/709336ab-eedf-4804-9162-d5ee7b8b44af/dataClasses/9d069cec-bf41-4c9b-8cc0-a9fa79222a5d",
    "resource": "DataClass",
    "id": "9d069cec-bf41-4c9b-8cc0-a9fa79222a5d"
  }
}
pjmonks commented 3 months ago

I've spotted the problem. Normally you would be able to except I've checked and it is not fetching the sub-group correctly. It is an issue added to our backlog.

pjmonks commented 3 months ago

We have fixed the issue I described in my last comment. You can correctly select a sub-group under a data set group and choose to copy that to another location.

AngelaFaulding commented 3 months ago

This now works and the subgroup is displayed in the orchestrator

image