Apache OpenOffice (AOO) Bugzilla – Issue 117265
sorting grid control content by date values does not work
Last modified: 2017-05-20 09:32:07 UTC
The recently introduced feature of sorting grid control values (i.e. the values provided by a css.awt.grid.GridDataModel incarnation, using a css.awt.grid.XSortableGridData adapter) does not work for date, time, and datetime values. More precise, at the moment a client of this API has to convert all date/time values into strings, using a formatting at its own discretion. Consequently, the sort implementation can sort strings only, by a lexicographic order, which is not what is expected for date/time sorting. Possible Solution 1: let the client provide dedicated value comparison Possible Solution 2: allow the grid control to display not only the plain type it supports currently, but also more complex types like css.util.Date/Time. The advantage of the second solution is that now all clients use a common formatting (instead of every client implementing its own magic). Also, the first solution would imply that a client of the grid control needs to maintain both values: the raw data (i.e. the Date/Time value) and the string-formatted data to be put into the GridDataModel. Thus, we'll strive for the second solution.
fixed in CWS gridfixes
fs->tk: please verify in CWS gridfixes
verified in cws gridfixes
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.