Not Found error when searching Data Types to add to a new Data Element
Closed this issue · 0 comments
aaronforshaw commented
Describe the bug
Get a Not Found error when searching Data Types to add to a new Data Element
To Reproduce
Steps to reproduce the behavior:
- Using the bootstrapped Complex Test DataModel, select the 'content' Data Class and add a new Data Element
- Search existing Data Types, by for example typing 's' into the search box
- Get a Not Found error
Expected behavior
List of data types should be displayed
Desktop (please complete the following information):
- OS: iOS
- Safari
- Latest (at the time of writing) develop branches of mdm-ui and mdm-resources
Additional context
It looks like the UI is using the Data Class ID rather than Data Model ID in the endpoint /dataModels/{dataModelId}/dataTypes