You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/04/29 14:15:54 UTC
[jira] Resolved: (PIVOT-486) TableView.setSort(String) doesn't work
[ https://issues.apache.org/jira/browse/PIVOT-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-486.
------------------------------
Fix Version/s: 1.5
Resolution: Fixed
I resolved the specific issue with TableView. I think we should create a new ticket to track the locale issue, since it will be a much bigger change (and is technically a different issue).
> 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.