Commit graph

5761 commits

Author SHA1 Message Date
Óscar González Fernández
2f54a627f8 The no longer valid allocations are marked as unsatisfied
When reassining if an allocation cannot be done, for example there are
no resources that match the criterions, it's marked unsatisfied.

FEA: ItEr74S04BugFixing
2011-04-11 16:49:37 +02:00
Óscar González Fernández
9a925b3c4c Fix variable name
FEA: ItEr74S04BugFixing
2011-04-11 16:48:34 +02:00
Óscar González Fernández
dbeb0f12de Remove wrong assert
After querying for new resources it could happen that there are no
resources matching the requirements.

FEA: ItEr74S04BugFixing
2011-04-11 16:14:14 +02:00
Óscar González Fernández
d6636ec78c Use ResourcesSearchModel instead of IResourceDAO
FEA: ItEr74S04BugFixing
2011-04-11 15:58:56 +02:00
Óscar González Fernández
c76f134914 Remove unused field
FEA: ItEr74S04BugFixing
2011-04-11 15:45:28 +02:00
Óscar González Fernández
dc43030c90 Remove unused method using IResourceDAO query by criteria capabilities
FEA: ItEr74S04BugFixing
2011-04-11 15:40:44 +02:00
Óscar González Fernández
80b8df9f3d Remove unused method
FEA: ItEr74S04BugFixing
2011-04-11 15:34:32 +02:00
Óscar González Fernández
e06b97c905 Remove already present method in Resource
FEA: ItEr74S04BugFixing
2011-04-11 15:25:01 +02:00
Óscar González Fernández
b4c12f30e8 Add simple README file to zk-Timeplot
FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:37:14 +02:00
Óscar González Fernández
030a7ec024 Bundle all needed files in timeplot.js
Thus the dependencies are not added dynamically and load ordering
errors are avoided.

FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:01:32 +02:00
Óscar González Fernández
a1da069004 Remove some generated artifacts from repository
FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:01:31 +02:00
Óscar González Fernández
4b164105bd Fix infinite loops
FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:01:31 +02:00
Óscar González Fernández
0d15bb29b7 Use deploy script to install locally the new timeplotz-modified dependency
This jar should be moved to a remote repository.

FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:01:31 +02:00
Óscar González Fernández
7a02bde0be Adding to repository original Timeplot-1.0_2
FEA: ItEr74S05PrintingSupportItEr73S05
2011-04-11 11:01:31 +02:00
Diego Pino Garcia
d23076deb9 [Bug #] Fix division by zero in Gantt
FEA: ItEr74S04BugFixing
2011-04-08 17:51:41 +02:00
Manuel Rego Casasnovas
e169de20a6 Released 1.0.5 version.
* Bump to 1.0.5.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:18 +02:00
Manuel Rego Casasnovas
a2f39f18d6 [i18n] Updated Spanish and Galician translations
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:11 +02:00
Manuel Rego Casasnovas
80c4f7eac8 [i18n] Updated .pot files
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:06 +02:00
Diego Pino Garcia
e176cc1a4c [Bug #876] Remove tree operation options (up, down, etc) for every entry in the tree of tasks in Template view
FEA: 39e5b1608ba843913019e183022de8c80d2e6df5
2011-04-08 10:38:42 +02:00
Diego Pino Garcia
0dc540d0a0 [Bug #876] Refactor interface for handling operations in a tree (up, down, indent, unindent, etc)
* Now most of the algorithms for these operations can be shared between
OrderElements and Templates.
   * Disable create template button from Templates view.

FEA: ItEr74S04BugFixing
2011-04-07 19:06:45 +02:00
Diego Pino Garcia
74213b1246 [Bug #877] ValidationException saving several templates at one time with the same name
FEA: ItEr74S04BugFixing
2011-04-07 12:09:50 +02:00
Diego Pino Garcia
63de37c94e Revert "[Bug #876] Template tasks tree is not coherent with project details task tree"
This reverts commit c60b48ad88.

The patch breaks the selected node bar in WBS view
2011-04-07 12:04:24 +02:00
Diego Pino Garcia
c60b48ad88 [Bug #876] Template tasks tree is not coherent with project details task tree
* The operations in the 'selected node' bar were not implemented
   * The operation getSelectedNode() launched NullPointerException if no node
was selected

FEA: ItEr74S04BugFixing
2011-04-07 11:27:09 +02:00
Diego Pino Garcia
2b8aba6e89 [Bug #876] Swap columns 'Hours' and 'Must start after' in Template view to match view in Orders
FEA: ItEr74S04BugFixing
2011-04-07 11:27:01 +02:00
Diego Pino Garcia
892bbc629c [Bug #931] Added helper class for printing a ValidatonExcepton as a WrongValidationException, showing up next to a widget
FEA: ItEr74S04BugFixing
2011-04-06 19:17:04 +02:00
Diego Pino Garcia
ecece6fd03 [Bug #931] Rename method
FEA: ItEr74S04BugFixing
2011-04-06 19:16:58 +02:00
Diego Pino Garcia
5f3ddcb576 [Bug #931] Reuse invalidValue() method from ValidationException
FEA: ItEr74S04BugFixing
2011-04-06 19:16:53 +02:00
Susana Montes Pedreira
937080fd0c [Bug #961] Call to dontPoseAsTransientObjectAnymore for each transient object.
There are transient instances when you add indirect criterion requirements ,
so after saving it must be call the method dontPoseAsTransientObjectAnymore
for each transient instance.

FEA: ItEr74S04BugFixinga
2011-04-06 19:03:46 +02:00
Diego Pino Garcia
e281fab21b [Bug #931] Added explicit check hour cost in 'Cost category' don't overlap for the same type of hours
FEA: ItEr74S04BugFixing
2011-04-06 18:24:00 +02:00
Diego Pino Garcia
145b6b70f9 [Bug #965] Change field 'Date' to 'Receipt date' in OrderElement's Material tab
FEA: ItEr74S04BugFixing
2011-04-06 15:59:10 +02:00
Diego Pino Garcia
0f382552b1 [Bug #967] Transient instance editing task in WBS after set criterion and save
If a treeitem is selected and a new element is added, the selected item
is converted into a container (newObject) and the selected item is
promoted to a child od this new container.

The criteria of the original element is copied to new element
(container) and removed from the original element. This causes that the
child has a new IndirectCriterionRequirement, which is a new object.

The error happened when doing a reattachment of the Order being this new
IndirectCriterionRequirement a transient entity.

Finally, we have decided to change the business logic of how
criterionRequirements are copied when a treeitem is promoted to a
container. What happens now is that the original item retains its
criterionRequirement and the newObject(container) has empty
criterionRequirements.

FEA: ItEr74S04BugFixing
2011-04-06 13:45:28 +02:00
Lorenzo Tilve Álvaro
72a3f23bbc [Bug #955] Perspectives column displays scroll when vertical space is not enough
FEA: ItEr74S04BugFixing
2011-04-06 13:18:31 +02:00
Diego Pino Garcia
8a359bcec0 [Bug #962] Cancel action in 'Progress assignment' window leave the Task as it was before editing
FEA: ItEr74S04BugFixing
2011-04-06 10:36:13 +02:00
Diego Pino Garcia
e1fcf3af1d [Bug #930] Impossible to delete work hours type
Added delete button in list of type of work hours. A 'type of
work hour' cannot be removed if it's being used by an 'hours cost'.

FEA: ItEr74S04BugFixing
2011-04-05 14:26:31 +02:00
Óscar González Fernández
6b4bd00be0 [Bug #942] Detect it can't fullfil the request duration beforehand
Calendar's thereAreCapacityFor is used.
2011-04-05 13:31:51 +02:00
Diego Pino Garcia
36cbb9f650 [Bug #964] Impossible to delete materials not assigned to an order element
FEA: ItEr74S04BugFixing
2011-04-05 13:07:52 +02:00
Manuel Rego Casasnovas
a275a03e09 [Bug #963] Fixed setting Comboitem value. 2011-04-05 12:50:29 +02:00
Susana Montes Pedreira
e5293b4291 [Bug #962] It is necessary the reattachment of the orderelement in order to get the consolidate values.
FEA: ItEr74S04BugFixing
2011-04-05 08:49:15 +02:00
Susana Montes Pedreira
1fa9fb076c [Bug #947] When closing OrderElement window, if there are errors in advance tab, show this tab with the error
FEA: ItEr74S04BugFixing
2011-04-05 08:48:58 +02:00
Susana Montes Pedreira
1e4dd5eb49 [Bug #947] check if not exists any indirect or direct advance when it changes advance type.
When it changes the advance type, the previous indirect advances in its ancestors
are deleted  and the new one is added if not exists any indirect or direct
advance with the same type.

ItEr73S04BugFixing
2011-04-05 08:48:42 +02:00
Óscar González Fernández
adebb0348b Pull up asHoursModification
Just for being consistent with asResourcesPerDayModification

FEA: ItEr73S04BugFixing
2011-04-04 19:04:33 +02:00
Óscar González Fernández
27aabfa7bb [Bug #943] Fix bug
When an allocation can not be satisfied keep the old resources per day
and not update them from data. Thus when moving a task back to a place
where it's satisfied the resources per day of the last satisfied
allocation are used.
2011-04-04 19:04:21 +02:00
Óscar González Fernández
ee2af5828f [Bug #943] Avoid to reassign allocations with zero resources per day
FEA: ItEr73S04BugFixing
2011-04-04 19:02:54 +02:00
Óscar González Fernández
c4d85187ec The tasks inside a task group are not being validated
FEA: ItEr73S04BugFixing
2011-04-04 14:05:59 +02:00
Óscar González Fernández
3504933cae [Bug #943] Change error handling
If a reassign fails, the error is catched and reported so it doesn't
prevent all the load of a project.

This allows to restore checkNoAllocationWithZeroResourcesPerDay and
thus the ignored test can be used again.
2011-04-04 14:05:57 +02:00
Diego Pino Garcia
60c57cb56e Fix OrderElementServiceTest
AdvanceMeasurement.value is now initialized to 0, so no Exception
launched on this test due to that

FEA: ItEr73S04BugFixing
2011-04-04 13:02:40 +02:00
Lorenzo Tilve Álvaro
fde4d0c116 [Bug #948] Updated legend colours
An extra item was added in resourcesLoad legend to define load 100% stretch.

FEA: ItEr73S04BugFixing
2011-04-04 11:30:59 +02:00
Lorenzo Tilve Álvaro
eca2f06b87 [Bug #948] Improved graphs colour coherence
Now always overload is represented with red scale based colours and load
with green tones. In project view perspective the general load/overload
is translucid just to give the additional information.

FEA: ItEr73S04BugFixing
2011-04-04 11:29:43 +02:00
Diego Pino Garcia
83efb2b4f9 [Bug #962] Cancel action in "Progress assignment" window leave the Task as it was before editing
Remove new advanceMeasurements in every advanceAssignment when user clicks cancel

FEA: ItEr73S04BugFixing
2011-04-03 23:54:57 +02:00
Diego Pino Garcia
1663f5d627 [Bug #962] Refactor fillVariables
FEA: ItEr73S04BugFixing
2011-04-03 23:54:51 +02:00