Indistinguishable dynamic profiles when viewing
Closed this issue · 1 comments
joe-crawford commented
Description
Similar to #402 (when editing), when viewing a dynamic profile with multiple versions on a data model, the versions are indistinguishable.
Steps to reproduce
- Using the UI, create a dynamic profile specification model and finalise (to create version 1.0.0).
- Create a new version of the dynamic profile specification model from 1. and finalise again (to create version 2.0.0).
- Create a data model and apply one of the dynamic profile versions.
- When viewing the data model, in the profile dropdown, the two dynamic profile versions are indistinguishable.
Expected behavior
If multiple profile versions are shown when viewing a datamodel, the version number should be included (as it is when adding a profile after PR #450).
Environment
Desktop
Please complete the following information:
- OS: macOS
- Browser: Chrome 99
- Mauro: latest develop of core, ui and resources
Additional context
N.B. viewing multiple profile versions using develop of mdm-core may be affected by MauroDataMapper/mdm-core#292 if there is a non-finalised profile specification model version.
joe-crawford commented
Also change the View/Edit and Add New profile dropdowns to only show the latest (finalised) versions of profiles.