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

Translation bundles are not really ordered by priority

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 5.3-rc-1, 5.2.2
    • 5.2.1
    • Localization
    • None
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: