Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9731

Translation bundles are not really ordered by priority

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3-rc-1, 5.2.2
    • Component/s: Localization
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The iterator in java.util.PriorityQueue is not ordered...

      The effect of this is that the priority of the translations (e.g. that translations in wiki documents should always have priority over translations in jars – as XWIKI-8881 says) is not respected. For specific values of n (the size of the queue), the order might be the correct one, but in general it's not the correct one (for n=7, for example, the iterator returns the values in broken order).

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: