You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/01/12 20:07:40 UTC

[jira] [Reopened] (SLING-4299) Regression: message are not sorted correctly

     [ https://issues.apache.org/jira/browse/SLING-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reopened SLING-4299:
-------------------------------------
      Assignee: Carsten Ziegeler  (was: Bertrand Delacretaz)

The problem is not the sorting of the roots. During some refactoring for 2.2.8 a regression in the ordering was introduced: instead of globally sorting all messages by the search resource path, the entries are sorted per root and then merged. Therefore as soon as there is more than one root, the ordering might get corrupred

> Regression: message are not sorted correctly
> --------------------------------------------
>
>                 Key: SLING-4299
>                 URL: https://issues.apache.org/jira/browse/SLING-4299
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: i18n 2.2.8, i18n 2.2.10
>            Reporter: Bertrand Delacretaz
>            Assignee: Carsten Ziegeler
>             Fix For: i18n 2.3.0
>
>
> {code}
> test_search_path(org.apache.sling.i18n.impl.JcrResourceBundleTest)  Time elapsed: 0.08 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: expected:<[OTHER]> but was:<[K�che]>
> ...
> 	at org.apache.sling.i18n.impl.JcrResourceBundleTest.test_search_path(JcrResourceBundleTest.java:539)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)