From 6950f4d1db38dc2213f74427769c962e0079d536 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Wed, 11 Jan 2012 11:43:26 +0100 Subject: [PATCH] Bug #1329: Update advanced allocation row after applying default stretches function With this patch the bug is even clearer. If you have a task of 3 days with 8h per day, and you choose stretches function you will see that the task is enlarged to 4 days with 6h per day. FEA: ItEr76S04BugFixing --- .../allocation/streches/StrechesFunctionConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/streches/StrechesFunctionConfiguration.java b/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/streches/StrechesFunctionConfiguration.java index 429dc4b99..4e958a533 100644 --- a/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/streches/StrechesFunctionConfiguration.java +++ b/libreplan-webapp/src/main/java/org/libreplan/web/planner/allocation/streches/StrechesFunctionConfiguration.java @@ -95,6 +95,7 @@ public abstract class StrechesFunctionConfiguration implements @Override public void applyOn(ResourceAllocation resourceAllocation) { resourceAllocation.setAssignmentFunctionAndApplyIfNotFlat(StretchesFunction.create()); + assignmentFunctionChanged(); } @Override