Description:
We added the 'Available Start' and 'Available Finish' dates to the Resource Planning Allocations Weekly Detail portlet (projmgr.weeklyDetail). When we sort on either column, the data is not sorted.
Steps to Reproduce:
<Please see attached file for image>
<Please see attached file for image>
Expected Result: The rows should sort according to the dates listed in the portlet for the column being sorted.
Actual Result: The rows appear not to be sorted correctly.
Solution:
The Weekly Detail portlet uses the 'Team Allocations' data provider. The query for this data provider is sorting on the dates that are stored on the Investment > Team: Staff Properties page. When the Staff Member Properties page does not have specific dates, the portlet will use the Investment Start and Finish dates for the 'Avail Start' and 'Avail Finish' columns. However, when the sorting function is invoked, it is only looking at the values for the Staff Member Properties values which can have NULL values. When you sort the column in ascending order, the rows with NULL values on the Team: Staff Properties page will appear at the end of the list. When you sort the column in descending order, the rows with NULL values on the Staff Member Properties page will appear at the beginning of the list.
In the example shown above for Step #6, the 'Avail Start' column is sorted in ascending order.
It appears that the row for 'User, Resource2' with a 'Avail Start' date for 1/1/09 is out of order.
Click on the 'properties' icon (first icon in the list) to see the Staff Member Properties page. The 'Start Date' and 'Finish Date' fields are empty
<Please see attached file for image>
Entering specific dates in these fields will impact the Investment allocations. If specific dates are entered here, any changes made to the Investment Start and Finish Dates will not automatically update the Staff Member Properties.
STATUS/RESOLUTION:
Resolved in Clarity 12.1.3
Resolved in Clarity 13.0.1, 13.1.0
Keywords: CLARITYKB, CLRT-62531, clarity12resolved, clarity1213resolved, clarity13resolved, clarity1301resolved, clarity1310resolved.