Commit graph

4168 commits

Author SHA1 Message Date
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
Óscar González Fernández
2ed9f663a0 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #493] Show to the user that an error has happened. 2010-06-10 02:35:01 +02:00
Óscar González Fernández
43ee242e8c ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #493] Make it exit from modal mode.
withAsyncUpdates must wait for showing all updates when an exception happens
2010-06-10 02:34:43 +02:00
Óscar González Fernández
5191f6cde0 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Fix typo 2010-06-10 01:21:45 +02:00
Óscar González Fernández
ede7870ae7 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #489] Fix bug.
ReturningNewAssignments was always adding the initial new assignments
(assignments for the current order and scenario that are still not
saved). But removals and addings can happen on these new assignments
but ReturningNewAssignments kept using the initial new assignments.

Instead of passing the initial new assignmetns to
ReturningNewAssignments, they are added to resource using @AfterCopy
mechanism.
2010-06-10 01:00:11 +02:00
Óscar González Fernández
b263ea5baf ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #489] Fix error at resource load chart.
Take into account the day assignments for the current scenario, not
all.
2010-06-09 21:43:11 +02:00
Óscar González Fernández
185b2c0737 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: Add method for filtering by Scenario 2010-06-09 21:34:52 +02:00
Óscar González Fernández
0af1279839 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #489] Remove spurious containers.
This fixes the bug for the planning view. It removes the containers
for the current scenario at all SchedulingDataForVersions but the new
current one so their day assignments don't interfere when calculating
the external load.

The newly created SchedulingDataForVersion has also spurious
containers resulting from the deep copy. These are removed too.

Now the data is stored correctly so when you get back after saving the
load is shown correctly. But while the planning is being edited the
chart shows wrong data.
2010-06-09 21:19:53 +02:00
Lorenzo Tilve
8413202b7d ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Deadlines are only shown pointing over queue elements 2010-06-09 18:16:48 +02:00
Lorenzo Tilve
505d7c7686 ItEr59S07RFAspectosGraficosRecursoLimitantesItEr58S08: Removed unnecesary timetracker listener 2010-06-09 18:16:46 +02:00