Removed duplicated code in OrderEarnedValueChartFiller and
CompanyEarnedValueChartFiller. Moved common code to
EarnedValueChartFiller.
FEA: ItEr76S15OrganizingPerProjectDashboard
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
If the bound user is not an administrator, a question is asked to the user to
decide if he wants to remove or not the bound user.
FEA: ItEr76S27ResourceBinding
* 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
When there are no deviations in 'Estimation Accuracy' chart because
there are not tasks, return an empty array with 6 values equal to 0
FEA: ItEr76S15OrganizingPerProjectDashboard
When there are no deviations in 'Task Completion Chart' because there are
not tasks, return an empty array with 6 values equal to 0
FEA: ItEr76S15OrganizingPerProjectDashboard