Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indistinguishable dynamic profiles when viewing #493

Closed
joe-crawford opened this issue Mar 14, 2022 · 1 comment · Fixed by #494
Closed

Indistinguishable dynamic profiles when viewing #493

joe-crawford opened this issue Mar 14, 2022 · 1 comment · Fixed by #494
Assignees
Labels
bug Something isn't working

Comments

@joe-crawford
Copy link
Contributor

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

  1. Using the UI, create a dynamic profile specification model and finalise (to create version 1.0.0).
  2. Create a new version of the dynamic profile specification model from 1. and finalise again (to create version 2.0.0).
  3. Create a data model and apply one of the dynamic profile versions.
  4. 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 joe-crawford added the bug Something isn't working label Mar 14, 2022
@joe-crawford joe-crawford self-assigned this Mar 16, 2022
@joe-crawford
Copy link
Contributor Author

Also change the View/Edit and Add New profile dropdowns to only show the latest (finalised) versions of profiles.

joe-crawford added a commit that referenced this issue Mar 16, 2022
joe-crawford added a commit that referenced this issue Mar 16, 2022
joe-crawford added a commit that referenced this issue Mar 22, 2022
- Restrict the add new profile dropdown to default (latest) version of profile only
- Show all available versions of profile in view/edit dropdown with version number
joe-crawford added a commit that referenced this issue Mar 25, 2022
- Filtering of used/unused profile lists is performed by backend defaults
- Show profile version number in view/edit dropdown
- Use version when saving/validating profile data
joe-crawford added a commit that referenced this issue Mar 28, 2022
- Filtering of used/unused profile lists is performed by backend defaults
- Show profile version number in view/edit dropdown
- Use version when saving/validating profile data
jamesrwelch added a commit that referenced this issue Apr 4, 2022
Show version numbers in view/edit profiles dropdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant