Commit graph

4177 commits

Author SHA1 Message Date
Susana Montes Pedreira
1dfd0c3963 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Fixing Bug.
fixes the division by zero in the method mergeAdvanceMeasurements().
2010-06-14 19:24:54 +02:00
Susana Montes Pedreira
9547736896 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #477] Fixing Bug.
Disable movement on Gantt diagram of the tasks which have got consolidations.
2010-06-14 18:58:59 +02:00
Susana Montes Pedreira
f561bd04da ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Fixing Bug.
It checks if the property X is not null before using it.
The consolidations can not be modified if they are read-only.
2010-06-14 18:45:01 +02:00
Óscar González Fernández
f9d080c082 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #516] Fix bug.
Adding metada for copying consolidations.
2010-06-14 18:37:47 +02:00
Óscar González Fernández
b32175d926 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Move validation annotations to accessors from fields 2010-06-14 18:37:47 +02:00
Óscar González Fernández
21eb5f8cee ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Fix bug.
When copying a order on a derived scenario the queue dependencies are
ignored. An exception is produced copying LimitingResourceQueueElement
if they are not ignored.
2010-06-14 18:37:47 +02:00
Susana Montes Pedreira
94835223fe ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #457] Fixing Bug.
fixes the following bug : The task edition window keeps open after
having changed the view.
2010-06-14 18:08:33 +02:00
Óscar González Fernández
78829ed69a ItEr59S04ValidacionEProbasFuncionaisItEr58S04: By default do not enforce constraints when adding task.
This avoids unnecessary recalculations.
2010-06-14 17:16:58 +02:00
Óscar González Fernández
a43161163d ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #511] Fix bug.
Adding the dependencies provokes recalculations. If some recalculation
modifies some task, task shrinking is done. When task shrinking is
done children tasks that are not yet added to the graph are processed
causing the exception. The recalculations are done after adding all
children tasks.
2010-06-14 17:04:32 +02:00
Diego Pino Garcia
aa9f6ca8ce ItEr59S08CUAsignacionRecursosLimitantesItEr58S10: [Bug #503] (Scenarios) It is impossible to add generic limiting resource allocation 2010-06-14 12:54:27 +02:00
Manuel Rego Casasnovas
401ac50fd9 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #497] It also needed to reload the resources that are gotten from the day assignments. 2010-06-14 12:23:23 +02:00
Óscar González Fernández
9f2866c160 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #507] Fix bug.
overrideConsolidatedDayAssignments was passing directly the
assignments from another allocation so they already had a
parent. Doing a copy.
2010-06-14 01:17:55 +02:00
Javier Moran Rua
b86f618c22 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Making deadline desappear on updating its value to empty from interface. 2010-06-14 00:18:52 +02:00
Javier Moran Rua
6630cb8bb9 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Preventing NullPointerException when deadline is null which is a valid condition. 2010-06-14 00:06:55 +02:00
Javier Moran Rua
68b5b40294 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Add needed method to DefaultFundamentalProperties. 2010-06-13 20:42:21 +02:00
Javier Moran Rua
fbbf0e4f6c ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #506] Managing of deadline from order planning window. 2010-06-13 20:24:34 +02:00
Óscar González Fernández
4e134d00e1 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #505] Fix bug.
LimitingResourceAllocationModel was introducing new resources
instances instead of using the already existent. This caused to have
more that one instance for the same resource.
2010-06-13 18:33:47 +02:00
Javier Moran Rua
46600cbc8b ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #499] Compare by id instead of == on adding dependencies.
The former code to add dependencies provokes error when one of the LimitingResourceQueueElement in which a depencency
is going to be added (as origin or as destiny) is a proxy (although it has been initialized).
2010-06-13 15:54:13 +02:00
Diego Pino Garcia
28844f8b5f ItEr59S08CUAsignacionRecursosLimitantesItEr58S10: Fix bug error on showing 'limiting resource allocation' window (scenarios) 2010-06-13 11:49:16 +02:00
Óscar González Fernández
c6332e37d5 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Apply validation annotations on methods instead of fields.
A validation annotation on a field was causing a validation error when
saving limiting resources (the entity was a proxy).
2010-06-12 20:16:34 +02:00
Óscar González Fernández
a53e99acac ItEr59S24AdaptacionsFinaisEscenarios: Remove limiting allocations when copying due to creating a new version 2010-06-12 20:05:45 +02:00
Óscar González Fernández
7749830f3f ItEr59S24AdaptacionsFinaisEscenarios: Avoid lazy initialization exception when accessing the day assignments. 2010-06-12 18:49:47 +02:00
Óscar González Fernández
70d144ec90 ItEr59S24AdaptacionsFinaisEscenarios: Setting the scenario against the resource allocation is working 2010-06-12 18:43:54 +02:00
Óscar González Fernández
b9eebd034e ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Remove unused method 2010-06-12 18:36:17 +02:00
Óscar González Fernández
06dc96efcc ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Fix bug.
When a limiting tasks has no outgoing dependencies an empty graph was
produced and this caused an assertion at TopologicalOrderIterator to
fail.
2010-06-12 18:30:32 +02:00
Diego Pino Garcia
9ba4a0c8bc ItEr59S08CUAsignacionRecursosLimitantesItEr58S10: Fix bug load limiting resources window when clicking on panel 2010-06-12 17:52:04 +02:00
Diego Pino Garcia
d07ac82b31 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Fix bug NullPointerException, limiting allocations can be children from groups 2010-06-12 17:51:04 +02:00
Susana Montes Pedreira
06972fe905 ItEr59S04ValidacionEProbasFuncionaisItEr58S04 : Fixing bug.
fixes the constraint to add new advance measurement if its date already
is consolidated.
2010-06-12 17:47:50 +02:00
Óscar González Fernández
8a94cdeffa Merge master into scenarios 2010-06-11 20:20:26 +02:00
Lorenzo Tilve
7c41c093a2 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Improved centering of select/deselect queue unplanned elements checkbox 2010-06-11 13:01:50 +02:00
Lorenzo Tilve
0e704e6973 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Refreshed queue elements context menus and dependencies after moving between limiting resources 2010-06-11 13:01:48 +02:00
Lorenzo Tilve
c6b1f186b6 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Revamped styles of cost and progress bars 2010-06-11 12:30:12 +02:00
Manuel Rego Casasnovas
75017c9fe8 ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #497] Resources are reloaded in order to show the load chart.
While allocating DayAssignments are resources are changed, but Order.getResources() still returns the old resources with the original DayAssignments. This list of resources is reloaded in order to get just the new DayAssignments.
2010-06-11 11:11:39 +02:00
Óscar González Fernández
6de86c4a57 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Now orders can be created from template.
Fixes exception when creating order from template due to not calling
useSchedulingDataFor
2010-06-11 00:51:23 +02:00
Óscar González Fernández
7ea78b7b70 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Refactor. Remove unnecessary createElement method.
Only was used for OrderTemplate but was implemented on all hierarchy.
2010-06-11 00:51:23 +02:00
Óscar González Fernández
bf0cb4b5e3 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Call useSchedulingData so template edition doesn't fail. 2010-06-11 00:51:23 +02:00
Óscar González Fernández
99c4a499fa ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #492] Fix bug.
The previous controller name was colliding with TemplateController
2010-06-11 00:51:23 +02:00
Jacobo Aragunde Pérez
40bee2bf0c ItEr58S16RFAdaptacionInformesItEr55S14: Adapted the report 'Scheduling progress per order'. 2010-06-10 22:28:46 +02:00
Jacobo Aragunde Pérez
a1ba6aba49 ItEr58S16RFAdaptacionInformesItEr55S14: Adapted the report 'Working progress per task'.
Now it's implemented in the XXModel. The DAO operation has been removed.
2010-06-10 22:28:43 +02:00
Jacobo Aragunde Pérez
efe6eea20c ItEr58S16RFAdaptacionInformesItEr55S14: Adapted the report 'Completed estimated hours per task'.
Now it's implemented in the XXModel. The DAO operation has been removed.
2010-06-10 22:28:41 +02:00
Jacobo Aragunde Pérez
03199cdb68 ItEr58S16RFAdaptacionInformesItEr55S14: Corrected the implementation of the method TaskElementDAO.getTasksByOrderAndDate().
It wasn't adapted to the new model based on scenarios and produced an exception.
2010-06-10 22:28:38 +02:00
Manuel Rego Casasnovas
5aba8ae2bb ItEr59S04ValidacionEProbasFuncionaisItEr58S04: [Bug #497] Advance consolidation was not working properly. The pending hours calculation was wrong. 2010-06-10 21:29:54 +02:00
Jacobo Aragunde Pérez
daa48353e3 ItEr59S22MellorasGlobalesRendemento: Adding indexes over foreign keys in certain associations of several hbm.xml files.
The reviewed hbm.xml files are:

Advance.hbm.xml
Calendars.hbm.xml
Configuration.hbm.xml
ExternalCompanies.hbm.xml
AdvanceConsolidations.hbm.xml
Tasks.hbm.xml
QualityForms.hbm.xml
Users.hbm.xml
WorkReports.hbm.xml
2010-06-10 20:11:33 +02:00
Lorenzo Tilve
c1b7a8bf85 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Queue elements with unmet deadlines are displayed with different style 2010-06-10 19:00:10 +02:00
Lorenzo Tilve
529c05d499 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Show progress inside queue elements 2010-06-10 19:00:07 +02:00
Óscar González Fernández
cbd9fcfcdd ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #488] Fix bug.
Calling useSchedulingDataFor
2010-06-10 18:37:59 +02:00
Óscar González Fernández
efaa551030 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #496] Fix bug.
Calling useSchedulingDataFor on a reattached entity to fix the bug.
2010-06-10 18:09:47 +02:00
Susana Montes Pedreira
3c6c3b76d5 ItEr59S04ValidacionEProbasFuncionaisItEr58S04 : Fixing bug.
If the advance is reported by a quality form, the button to add new advance
measurement and the button to remove a advance measurement are disabled.
2010-06-10 17:44:37 +02:00
Susana Montes Pedreira
5531357545 ItEr59S11RFMellorasAvancesItEr58S20: Adds some improvements in the advances screen.
Adds the advances assignment screen in the order planning screen.
2010-06-10 13:36:08 +02:00
Óscar González Fernández
3ae4b9ccd0 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #493] Fix bug.
The validation annotations were applied to fields. This fails when the
object is a proxy. Now they are placed at accessors instead.
2010-06-10 02:35:11 +02:00