Incorrect date sorting in Bookings app with custom column configurations
Affected versions
SRM setups using a DataMiner version prior to 10.2.0 [CU10]/10.3.1.
SRM setups using custom column configurations created prior to DataMiner 10.2.0 [CU10]/10.3.1.
Cause
In older custom column configurations, date-based columns were stored with a VisualType value of String (0) instead of DateTime (3). As a result, sorting is performed alphabetically rather than chronologically.
Fix
Install DataMiner 10.2.0 [CU10]/10.3.1.
Important
Custom column configurations created prior to these versions are not automatically updated and require manual intervention.
Workaround
Update the affected custom column configurations using one of the following methods:
Via Cube:
Open the Bookings app.
Right-click the column headers and select Manage column configuration.
Clear the affected date keys and select OK.
Right-click the column headers and select Manage column configuration again.
Re-enable the same keys and click OK.
This rewrites the configuration so the affected columns are stored using the correct DateTime type.
Via configuration file:
Open the relevant data file located under
C:\Skyline DataMiner\VisualData\Data.Locate the affected date keys (for example,
StartTime).Update their VisualType value from
0 (String)to3 (DateTime).Save the file.
Verify in Cube that sorting now behaves as expected.
Repeat these steps for all affected custom configurations.
Description
When sorting a bookings list that has a custom column configuration applied by a date-based column, entries may appear in an incorrect order.
For example, a booking starting on July 1st may be listed before a booking starting on June 30th, even when sorting in ascending order by start time.
This occurs because the column is still treated as a String value instead of a DateTime value.