Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3772

Several times same translator in the fallback chain

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.1
    • Component/s: Framework
    • Labels:
      None

      Description

      The flexi GUI framework sometime in enrich the fallback chain of translator with its own chain. Most of the time, it's exactly the same chain which lead to duplication. The inconvenient is that for a specific key, the UI framework will go down the fallbacks and check several times what is the same package translator.

      Implementation of an equals method (and hashCode method) and a check in the flexi container should solve the problem and reduce the pressure on the synchronised maps which store the translations.

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m