You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dirk Moebius (JIRA)" <ji...@apache.org> on 2010/04/29 15:38:56 UTC
[jira] Commented: (PIVOT-486) TableView.setSort(String) doesn't
work
[ https://issues.apache.org/jira/browse/PIVOT-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862195#action_12862195 ]
Dirk Moebius commented on PIVOT-486:
------------------------------------
Thanks for fixing. For the locale issue I opened PIVOT-487.
> TableView.setSort(String) doesn't work
> --------------------------------------
>
> Key: PIVOT-486
> URL: https://issues.apache.org/jira/browse/PIVOT-486
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 1.5
> Reporter: Dirk Moebius
> Fix For: 1.5
>
> Attachments: pivot-486-TableView-setSort.patch
>
>
> private method TableView.parseSort(String json) has this line:
> Dictionary.Pair<String, SortDirection> pair =
> new Dictionary.Pair<String, SortDirection>((String)map.get(COLUMN_NAME_KEY),
> SortDirection.valueOf(((String)map.get(SORT_DIRECTION_KEY)).toLowerCase()));
> The enum value for SortDirection cannot be found. Must be changed to toUpperCase().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.