You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jeroen Reijn (JIRA)" <ji...@apache.org> on 2010/04/12 23:12:50 UTC
[jira] Closed: (COCOON-2035) NPE in the sorter of the
EnhancedRepeater
[ https://issues.apache.org/jira/browse/COCOON-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeroen Reijn closed COCOON-2035.
--------------------------------
Fix version (Component): Parent values: Blocks: Forms(10239).
Affects version (Component): Parent values: Blocks: Forms(10167). Level 1 values: 1.1.0-SNAPSHOT(10323).
Fix Version/s: 2.2
Resolution: Fixed
> NPE in the sorter of the EnhancedRepeater
> -----------------------------------------
>
> Key: COCOON-2035
> URL: https://issues.apache.org/jira/browse/COCOON-2035
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: Forms
> Affects Versions: 2.2
> Reporter: Gustavo N. Fernandes
> Assignee: Jeroen Reijn
> Fix For: 2.2
>
> Attachments: SorterNullFix.patch
>
>
> Steps to reproduce
> ===============
> 1. Execute the enhanced repeater sample at http://localhost:8888/blocks/cocoon-forms-sample/pagination/paginated.do
> 2. Click "Sort-by-name"
> 3. Click "Add player"
> 4. Click again "Add player"
> 5. Boom!
> Causes
> ======
> The sorter shipped wih EnhancedRepeater does not deals with situations where the value of the field being compared is null
> Suggestion proposed
> ===================
> A new parameter nullsAreHigh (default=false) are passed to RepeaterJXPathSorter that will check for nulls and will sort based on the
> parameter. NullsAreHigh=false means that nulls are lower than anything else.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira