Skip to content

Multiple license sorting is inconsistent #8554

@Kris-LIBIS

Description

@Kris-LIBIS

What steps does it take to reproduce the issue?
Using Dataverse >= 5.10, install multiple licenses. The licenses will be sorted in the order they are loaded.
Then make one of the licenses the default or change active to false and back to true using the API.
The order of the licenses will be changed. Probably the last one you modified using the API will appear last in the drop-down list.

  • When does this issue occur?
    When a license is changed via API or even when editing the database table directly.

  • Which page(s) does it occurs on?
    The license selection in the Terms page

  • What happens?
    The order of the licenses in the drop-down is changed.

  • To whom does it occur (all users, curators, superusers)?
    Any installation using multiple licenses

  • What did you expect to happen?
    The licenses sorting order should remain the same or at least should be consistent.

Which version of Dataverse are you using?
5.10

Any related open or closed issues to this bug report?

Screenshots:

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions