The provided list could be immutable and fail when being sorted. This exception happened when ordering:
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableList$1.set(Collections.java:1203)
at java.util.Collections.sort(Collections.java:180)
at org.libreplan.business.planner.entities.ResourceAllocation.sortResourceAllocations(ResourceAllocation.java:227)
at org.libreplan.business.planner.entities.ResourceAllocation.allocating(ResourceAllocation.java:213)
at org.libreplan.business.planner.entities.Task.doAllocation(Task.java:774)
at org.libreplan.business.planner.entities.Task.reassign(Task.java:744)
at org.libreplan.business.planner.entities.Task.access$5(Task.java:730)
at org.libreplan.business.planner.entities.Task$1.doReassignment(Task.java:527)
at org.libreplan.business.planner.entities.Task$1.moveTo(Task.java:523)
at org.libreplan.business.planner.entities.TaskElement$4.moveTo(TaskElement.java:360)
at org.libreplan.web.planner.TaskElementAdapter$Adapter$TaskElementWrapper$1.setBeginDate(TaskElementAdapter.java:432)
at org.libreplan.web.planner.TaskElementAdapter$Adapter$TaskElementWrapper$1.moveTo(TaskElementAdapter.java:453)
at org.zkoss.ganttz.data.Task$2.moveTo(Task.java:180)
at org.zkoss.ganttz.TaskComponent$9.doIt(TaskComponent.java:373)
at org.zkoss.ganttz.data.Task$3.doIt(Task.java:141)
at org.libreplan.web.planner.TaskElementAdapter$Adapter$TaskElementWrapper$2$1.execute(TaskElementAdapter.java:517)
Moved code for calculating resource load values related with an Order to
new class: OrderResourceLoadCalculator
FEA: ItEr76S15OrganizingPerProjectDashboard
* Create a new method UserDao.remove(User user) that is in charge of remove
OrderAuthorizations and the User too
* Use this method from UserModel
FEA: ItEr76S27ResourceBinding
* EarnedValueCalculator calculates 'Earned Value' generic indicators
* Generic indicators are those indicators that are calculated out of BCWP,
ACWP and BCWS
* EarnedValueChartFillers call EarnedValueCalculator to get the real
values of the indicators and plot them in the chart.
FEA: ItEr76S15OrganizingPerProjectDashboard
Create utility class 'CompanyEarnedValueCalculator' for calculating all Earned Value indicators related with Company
FEA: ItEr76S15OrganizingPerProjectDashboard
Create utility class 'EarnedValueCalculator' for calculating all earned value measurements related with an Order
FEA: ItEr76S15OrganizingPerProjectDashboard
It fixes the other part of the bug, when a task is the only child of a container and
it is unscheduled, so the TaskSource of the parent is deleted too.
FEA: ItEr76S04BugFixing
Attaching day assignments to resources and detaching them later once the
allocation is done as they will be attached in a different method again.
FEA: ItEr76S04BugFixing