Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4818

AdministrationService.getPresentationLocales() should return results with a correct and consistent order

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • Platform 2.0.0
    • None
    • Low

    Description

      In AdministrationServiceImpl.getPresentationLocales() the set we return is a HashSet, but this causes us to lose the ordering of locales (that ultimately comes from an admin-configured global property)

      Instead we should use a LinkedHashSet, in order to preserve the order of locales we get from getAllowedLocales() (and ultimately the admin configured via a global property).

      Gliffy Diagrams

        Attachments

          Activity

            People

              bholagabbar Shreyans Sheth
              darius Darius Jazayeri
              Darius Jazayeri Darius Jazayeri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h