Commit graph

3160 commits

Author SHA1 Message Date
Susana Montes Pedreira
cd4a3d0564 ItEr47S08RFNavegacionOrganizacionTraballoItEr46S09 : Fixes a bug in the loading of the advances of the current order on demand. 2010-02-12 10:58:40 +01:00
Fernando Bellas Permuy
664d7a8f63 ItEr47S12CUImportacionRecursosProductivosItEr46S13: Added updating functionality to ResourceServiceREST
Updating functionality has been added to ResourceServiceREST. All data associated to a resource can be updated with the exception of the calendar field, since the updating semantics are only clearly defined for such field at this moment (what happens with the previous derived calendar: modified?, removed?, disabled?).

As part of this patch, some improvements to CriterionServiceREST implementation have also been made. In particular, updateUnvalidated methods has been added to related entities (as in ResourceServiceREST). Unlike createUnvalidated methods, such methods are used for updating, and like createUnvalidated methods, non-valid fields are allowed.

Finally, performance of GenericRESTService has been improved. Previously, validations were executed twice for each entity being imported due to previous limitations of IGenericDAO interface. Now, a new method has been added to IGenericDAO to make possible to execute validations only one time for each entity being imported.
2010-02-12 10:53:54 +01:00
Óscar González Fernández
c9ea9ea65d ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Avoiding first day gives zero hours for splines interpolation.
For each day the accumulated hours are the hours accumulated until
that day included. Before this commit the hours of that day were not
included.
2010-02-11 22:07:00 +01:00
Óscar González Fernández
8a91e5a669 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #282] Fixing bug.
The problem lies in that the start and end data were retrieved from
allocation. Allocation start and end are calculated looking into day
assignments. The first day was assigned to zero hours when applying
the splines and this caused that the allocation start slipped to the
next day. As the first interval end was the task's next day too it
provoked the failure.
2010-02-11 22:07:00 +01:00
Susana Montes Pedreira
433e004ede ItEr47S08RFNavegacionOrganizacionTraballoItEr46S09 : Load the advances of the current order on demand. 2010-02-11 20:16:53 +01:00
Susana Montes Pedreira
60b95b18e4 ItEr47S08RFNavegacionOrganizacionTraballoItEr46S09 : Load the assigned hours to the order on demand. 2010-02-11 20:16:51 +01:00
Susana Montes Pedreira
3de2358f77 ItEr47S08RFNavegacionOrganizacionTraballoItEr46S09 : Load the order elements tree on demand. 2010-02-11 20:07:14 +01:00
Óscar González Fernández
9bb66ed9e7 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #285] Fixing bug.
For TaskMilestones the order element is null, so the calendar can't be retrieved from there.
2010-02-11 14:39:47 +01:00
Lorenzo Tilve
15fcefa907 ItEr46S20CUAsignacionGrupoRecursosAPlanificacionItEr32S12: Added tooltiptext and resolved alignment problems in advanced allocation window details 2010-02-11 12:41:52 +01:00
Lorenzo Tilve
1150b02438 ItEr46S20CUAsignacionGrupoRecursosAPlanificacionItEr32S12: Fixed problems with timetracker horizontal scrolling after zoom changes 2010-02-11 12:30:36 +01:00
Lorenzo Tilve
6380ac9eef ItEr46S20CUAsignacionGrupoRecursosAPlanificacionItEr32S12: Removed extra years in advanced assignment timetracker 2010-02-11 12:30:33 +01:00
Lorenzo Tilve
508c205220 ItEr47S16CUAsignacionGrupoRecursosAPlanificacionItEr46S20: Added icon to configure assignment function button 2010-02-11 12:30:30 +01:00
Susana Montes Pedreira
70156d687d ItEr46S09RFNavegacionOrganizacionTraballoItEr45S09 : Optimization DateBox components in the OrderElement view. 2010-02-11 12:14:09 +01:00
Manuel Rego Casasnovas
90a056586a ItEr47S17CUFiltradoNaPlanificacionItEr46S21: Added interface for multiple filter to order planning view. 2010-02-11 10:39:31 +01:00
Óscar González Fernández
51c4603ede ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #280] Fixing bug.
The hours were retrieved from the task instead of the ResourceAllocation
2010-02-10 21:37:40 +01:00
Óscar González Fernández
9ee62948ac ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #278] Fixing bug.
Avoiding changing the reference for derived allocations in order to avoid error.
2010-02-10 17:00:32 +01:00
Manuel Rego Casasnovas
80d23a85af ItEr47S17CUFiltradoNaPlanificacionItEr46S21: Added button to expand and collapse all the task in the planning view. 2010-02-10 14:17:21 +01:00
Diego Pino Garcia
297c6b1cde ItEr46S04ValidacionEProbasFuncionaisItEr45S04: [Bug #270] Delete Order launches an Exception 2010-02-10 14:10:19 +01:00
Óscar González Fernández
b839c67325 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #275] Fixing bug.
The problem was that planning tab was loaded using
LongOperationFeedback. This postpones the execution to an echo event,
causing a race condition: when entering goToOrderElementDetails the
planner could still not be loaded. Because of this it's not removed
and both the order detail and the planner appear.
2010-02-10 13:41:20 +01:00
Óscar González Fernández
305982a4f2 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #275] Avoiding name collision.
It was failing when the planner is directly loaded without LongOperationFeedback
2010-02-10 13:41:19 +01:00
Óscar González Fernández
eb39e4b887 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Fix formatting 2010-02-10 13:41:19 +01:00
Fernando Bellas Permuy
22c883820a ItEr47S12CUImportacionRecursosProductivosItEr46S13: ResourceServiceREST adapted to GenericRESTService and added support for recoverable errors.
ResourceServiceREST has been adapted to GenericRESTService. Updating functionality in ResourceServiceREST is not implemented yet.

As part of this patch, the generic infraestructure for REST services has been improved. In particular, recoverable error support has been provided. Exceptions representing recoverable errors must extend from RecoverableErrorException. To demonstrate this capability, ResourceServiceREST nows reports non-existent calendars, criterions, critetion types, and cost categories as recoverable errors.
2010-02-10 13:09:28 +01:00
Óscar González Fernández
de3adddecc ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #277] Fixing bug.
The task's calendar was not being forced to be loaded.
2010-02-10 10:46:39 +01:00
Óscar González Fernández
1f0d26516a ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Formatting some bad formatted code 2010-02-10 10:37:00 +01:00
Óscar González Fernández
150eacae86 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #276] Adding prefixes with the name of the topmost task. 2010-02-09 21:44:33 +01:00
Óscar González Fernández
62a7eeaae6 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #276] Fixing bug.
Limiting the width and if the width is bigger a popup is shown.
2010-02-09 18:02:28 +01:00
Óscar González Fernández
89f21bb649 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Increasing the width of the left pane for resources load 2010-02-09 18:02:28 +01:00
Óscar González Fernández
c39b28e1ce ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Reattaching criterion to avoid LazyInitializationException.
The error only happens sometimes when it has satisfactions
2010-02-09 18:02:28 +01:00
Manuel Rego Casasnovas
69c15984a4 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #274] Fixing bug setting initial zoom level for charts. 2010-02-09 16:32:13 +01:00
Jacobo Aragunde Pérez
5b36d4ff69 ItEr46S11CUAsignarUsuarioAProxectoPlanificacionItEr45S09: Corrected bug: when authorizations changed and 'save & continue' was pressed, they weren't checked again. 2010-02-09 14:22:25 +01:00
Jacobo Aragunde Pérez
c6ef865968 ItEr46S22CUPasarPedidosAHistorico: Save buttons are disabled when order status is STORED, and re-enabled when changed. 2010-02-09 14:22:21 +01:00
Jacobo Aragunde Pérez
09b510f2b0 ItEr46S22CUPasarPedidosAHistorico: code rebase that will help in the implementation of this use case. 2010-02-09 14:22:18 +01:00
Jacobo Aragunde Pérez
5760b9509d ItEr46S22CUPasarPedidosAHistorico: Created the new status 'stored' for orders. 2010-02-09 14:22:15 +01:00
Jose Maria Casanova Crespo
9a6c0726a7 ItEr47S06DocumentacionFormacionItEr46S06: Includes git ignore for development documentation 2010-02-09 13:56:27 +01:00
Jose Maria Casanova Crespo
53de47d954 ItEr47S06DocumentacionFormacionItEr46S06: Included images from the development guide 2010-02-09 13:56:27 +01:00
Jose Maria Casanova Crespo
81f5e7e588 ItEr47S06DocumentacionFormacionItEr46S06: Fix rst format problems in compilation
Modified format related to indentation and emphasis
2010-02-09 13:56:27 +01:00
Óscar González Fernández
c089051fdd ItEr47S04ValidacionEProbasFuncionaisItEr46S04: Simplifying call.
Providing the resource dao in the constructor
2010-02-09 12:56:41 +01:00
Óscar González Fernández
2ccf19bf24 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #272] Fixing bug.
Loading the criterions at PlanningState in order to avoid duplicated instances.
2010-02-09 12:49:28 +01:00
Óscar González Fernández
d580601ae7 ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #271] Fixing bug.
Message changed to a more generic one. Updating i18n pending.
2010-02-09 11:15:19 +01:00
Óscar González Fernández
b194d5cbaf ItEr47S11CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr46S12: Fixing problem.
After a reload resources text, e.g. when moving a task, the resize
capability was lost. yui-resize css class must be added.
2010-02-08 23:48:25 +01:00
Óscar González Fernández
1f900917f7 ItEr47S11CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr46S12: Updating width from wrapped task.
If the task can't be resized this would make it to get back to its original size
2010-02-08 23:37:09 +01:00
Óscar González Fernández
f1bbab882c ItEr47S11CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr46S12: When resizing a task it's reallocated if possible 2010-02-08 23:33:02 +01:00
Óscar González Fernández
106a3458a2 ItEr46S04ValidacionEProbasFuncionaisItEr45S04: Fixing problem.
When activating recommended allocation and the calculated value is not
resources per day it kept the previous resources per day value. Now it
is reset to zero.
2010-02-08 13:53:40 +01:00
Óscar González Fernández
a3ccebfbc3 ItEr46S04ValidacionEProbasFuncionaisItEr45S04: Fixing problem loading a scheduling with a milestone.
Working hours are only loaded if task source exists, e.g. it's not a milestone.
2010-02-08 11:36:55 +01:00
Óscar González Fernández
889027d2ea ItEr46S04ValidacionEProbasFuncionaisItEr45S04: Fixing problem when moving a milestone.
Avoiding to show the resources text for a milestone since it doesn't
suppor it.
2010-02-08 11:20:35 +01:00
Óscar González Fernández
901a8300f1 ItEr46S04ValidacionEProbasFuncionaisItEr45S04: [Bug #269] Fixing bug.
The milestones dates were not being initialized. Now are forced to be initialized
2010-02-08 11:05:27 +01:00
Óscar González Fernández
2a4ff9f1a5 ItEr46S04ValidacionEProbasFuncionaisItEr45S04: [Bug #269] Fixing bug.
Loading also exception types.
2010-02-08 10:39:51 +01:00
Óscar González Fernández
3d2f7bdd85 ItEr46S18RFComportamentoGraficoPlanificadorItEr31S05: Calculating correctly the last task. 2010-02-08 09:49:10 +01:00
Fernando Bellas Permuy
571f814b64 ItEr46S13CUImportacionRecursosProductivosItEr45S11: code added to entities imported by ResourceService.
IMPORTANT: "code" column has been added to tables of the following entitites: Resource, CriterionSatisfaction, and ResourcesCostCategoryAssignment. "code" column has been removed from Machine's table. In consequence, it is better to remove all the database when applying this patch (navaldev, navaldevtest, navalprod, and navaprodtest).

This change is compatible with the current Web user interface. The only thing you will notice is that when creating a machine, the form containing the code automatically displays a value in the code field (which, of course, can be changed by the user). Of course, the user interface should be improved to set a blank value or propose a more meaningful code to the user (probably this second option).

The service has not been adpated to GenericRESTService yet and duplicate codes in resources *being* imported are not detected yet (GenericRESTService will make this automatically).
2010-02-05 18:27:01 +01:00
Manuel Rego Casasnovas
be368f6b83 ItEr46S07ImplantacionAplicacionItEr45S07: Changed "Naval Planner" for "NavalPlan" in pom files and spring file. 2010-02-05 18:04:13 +01:00