You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2017/03/29 15:24:42 UTC

[jira] [Reopened] (TOBAGO-1705) tc:sheet is empty after filtering results

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

Udo Schnurpfeil reopened TOBAGO-1705:
-------------------------------------
      Assignee: Udo Schnurpfeil  (was: Dennis Kieselhorst)

Found a problem with the patch: when doing as described, but playing around with the filter, it might happen, that sheet.getFirstRowIndexOfLastPage() returns a negative value.

Solution: check if "first" in a valid range before rendering (do this in the AbstractUIData).

This behavior is a workaround. Better it would be, when the application developer handle this, after modifying the model. So we should render a warning in this case.

> tc:sheet is empty after filtering results
> -----------------------------------------
>
>                 Key: TOBAGO-1705
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1705
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.3
>            Reporter: Henning Noeth
>            Assignee: Udo Schnurpfeil
>             Fix For: 3.1.0
>
>         Attachments: TOBAGO_1705_tc_sheet_is_empty_after_filtering_results.patch
>
>
> Steps to reproduce:
> 1. The sheet has enough rows for 5 pages.
> 2. Select page 4.
> 3. Filter results (so only one page is available)
> 4. No results are shown (probably because page 4 is still selected)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)