Skip to content

Fetching children of a Data Model from the tree does not order the child tree items correctly #478

Description

@pjmonks

Description

When expanding the model tree from MDM UI and expanding a data model to view data classes below, the order is not alphabetical.

Steps to reproduce

  1. Create a data model with data classes. Ensure a mix of data class labels beginning with different letters.
  2. Use the endpoint GET /api/tree/folders/dataModels/{dataModelId}
  3. Check the order of data classes returned.

Expected behavior

The returned list should always be in ascending alphabetical order. Currently it seems non-deterministic.

Related

  • NHSDigital/DataDictionaryPublication#405

Note also that this might be a fixed issue, but NHSE have raised a UI issue too - read the linked issue for more details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions