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 19:57:52 UTC

[jira] Assigned: (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 reassigned COCOON-2035:
------------------------------------

    Assignee: Jeroen Reijn

> 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
>         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