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

Concept.getName(Locale) and Concept.getName(Locale, false) are broken

    XMLWordPrintable

    Details

      Description

      If you call

      Concept.getName(someLocale, false)
      

      the actual behavior is to delegate to getName(), thus ignoring the locale you pass in.

      Acceptance criteria:

      • Given the default locale is English
      • Given a concept has at least one name in French
      • calling Concept.getName(Locale.FRENCH) must return a name in French (the locale-preferred one if there is one)

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              areo Arkadiusz KoƂodziejski
              Reporter:
              darius Darius Jazayeri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h