Commit graph

2124 commits

Author SHA1 Message Date
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
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
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
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
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
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
059974d8d5 [Bug #962] Avoid nulls in merging process
FEA: ItEr73S04BugFixing
2011-04-03 23:54:38 +02:00
Diego Pino Garcia
24edef10ec [Bug #932] Check there are not overlapped category assignments, and if there are mark failing criterio assignment in form
I refactored the code that does the checking in the business layer.
Instead of putting it directly in a method executed by
HibernateValidator I put it in a static method in the business layer.
This way it can be reused easily from the view layer.

The validation returns a ValidationException pointing to the object that
caused the error. Its corresponding component is localized in the view
and the error is shown as a WrongValidationException.

FEA: ItEr73S04BugFixing
2011-04-01 12:29:34 +02:00
Diego Pino Garcia
487c43c99e [Bug #958] Fix NullPointerException in progress assignment pop-up
FEA: ItEr73S04BugFixing
2011-03-30 17:19:22 +02:00
Diego Pino Garcia
811037e831 [Bug #946] Fix LazyInitializationException
FEA: ItEr73S04BugFixing
2011-03-28 12:30:49 +02:00
Manuel Rego Casasnovas
8936339300 [Bug #942] Fixed tests that try to store a calendar with zero hours.
FEA: ItEr73S04BugFixing
2011-03-27 21:03:19 +02:00
Manuel Rego Casasnovas
5333136392 [Bug #942] Modified creation of new calendars to use 8 hours for workable days by default.
FEA: ItEr73S04BugFixing
2011-03-27 21:03:19 +02:00
Manuel Rego Casasnovas
3bb6687c0c [Bug #942] Added constraint to avoid storing calendars with zero hours.
FEA: ItEr73S04BugFixing
2011-03-27 21:03:19 +02:00
Manuel Rego Casasnovas
c93783d648 [Bug #942] Added test to avoid store a calendar with zero hours.
FEA: ItEr73S04BugFixing
2011-03-27 18:54:32 +02:00
Manuel Rego Casasnovas
0b0816dcbb [Bug #942] Using configurationBootstrap in BaseCalendarDAOTest in order to run the test isolated.
FEA: ItEr73S04BugFixing
2011-03-27 18:49:14 +02:00
Manuel Rego Casasnovas
d26f47c960 [Bug #942] Logging a warning when it's not calendar capacity in 5 years to calculate end date for a task.
FEA: ItEr73S04BugFixing
2011-03-25 17:01:36 +01:00
Manuel Rego Casasnovas
cce6cfbfb0 [Bug #943] Skipped test while issue is not finally closed.
FEA: ItEr73S04BugFixing
2011-03-24 16:41:54 +01:00
Diego Pino Garcia
78fc9ba51e [Bug #943] Temporal fix, LOG error instead of launching exception
FEA: ItEr73S04BugFixing
2011-03-22 11:40:35 +01:00
Manuel Rego Casasnovas
6a56c88f11 [Bug #906] Fixed bug avoiding exception and using task dates if aggregate is empty.
FEA: ItEr72S04BugFixing
2011-03-18 10:52:42 +01:00
Manuel Rego Casasnovas
6708c308de Released 1.0.4 version.
* Bump to 1.0.4.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr72S03CommunityMaterialItEr71S03
2011-03-17 13:07:52 +01:00
Manuel Rego Casasnovas
e244ca49d9 [Bug #939] Fixed adding the same method also in TaskQualityFormItem.
Fixed also translation of QualityForm type.

FEA: ItEr72S04BugFixing
2011-03-17 10:29:44 +01:00
Manuel Rego Casasnovas
581713d8b9 [Bug #789] Fixed enum not translated in quality forms edition.
FEA: ItEr72S04BugFixing
2011-03-16 12:54:15 +01:00
Manuel Rego Casasnovas
bcce377da3 [Bug #939] Fixed adding new method to return a string for the position.
FEA: ItEr72S04BugFixing
2011-03-16 12:54:13 +01:00
Susana Montes Pedreira
838466ea22 [Bug #874] it does not reallocate resources if resource per day has 0 hours.
FEA : ItEr71S04BugFixing
2011-03-16 11:10:46 +01:00
Susana Montes Pedreira
05b553bcd0 [Bug #935] query grouped by date
Group by resource, type of work hours and its date and then
the result is sort by local date.

FEA : ItEr72S04BugFixing
2011-03-15 19:17:26 +01:00
Susana Montes Pedreira
936a8c7766 [Bug #927] Improve the imputed hours tab in the order element view.
- Sort the imputed hours rows by date.
  - Add a column with the hours type.
  - Group in a row all the hours of the tuple (Resource, Date, Hours type) so
that the hours of a row can be an addition.
  - Fix the height of the area for the hours with a scroll to avoid layout
problems.

FEA : ItEr72S04BugFixing
2011-03-14 14:07:16 +01:00
Susana Montes Pedreira
1552ba8784 [Bug #926] Add constraint to enable the report progress option in a quality form
It can enable the report progress option if the quality form has some item with
a percentage with value 100.

FEA : ItEr72S04BugFixing
2011-03-14 14:07:01 +01:00
Susana Montes Pedreira
523ae93af5 [Bug #925] Improve the report "cost by resource" with some changes:
- Add a new column with the date.
   - Rows grouped by two columns (type of hours,date).
   - Change the title of the report to 'Costs by resource'.
   - Change the order of the columns task code and task name.
   - Add the code of the project to the project line.

FEA : ItEr72S04BugFixing
2011-03-14 14:06:51 +01:00
Manuel Rego Casasnovas
356bf5c32a [Bug #921] Fixed problem avoiding possibility to save URL with white spaces.
FEA: ItEr72S04BugFixing
2011-03-14 12:29:03 +01:00
Manuel Rego Casasnovas
a75965a84c [Bug #891] Fixed checking if a task is subcontracted and was already sent to subcontract.
FEA: ItEr72S04BugFixing
2011-03-14 10:53:07 +01:00
Manuel Rego Casasnovas
2edce46f27 [Bug #917] Fixed bug changing visibility of PlanningData default constructor to public.
BTW, added information about class failing in exception.

FEA: ItEr72S04BugFixing
2011-03-11 10:58:20 +01:00
Susana Montes Pedreira
7eee8be116 [Bug #884] Show progress measurements list in reverse order.
FEA : ItEr72S04BugFixing
2011-03-08 16:19:43 +01:00
Susana Montes Pedreira
391666c638 [Bug #884] Sort progress measurements list in reverse order.
FEA : ItEr72S04BugFixing
2011-03-08 13:24:35 +01:00
Diego Pino Garcia
475f5c7c0f [Bug #908] Total amount of allocated hours miscalculated in lineal interpolation (Streches function)
As the end is exclusive, it's needed to increment the endDate in one day for the last Stretch

FEA: ItEr72S04BugFixing
2011-03-07 18:26:41 +01:00
Manuel Rego Casasnovas
295912b3c7 [Bug #911] Disabling at interface criterion hierarchy while bug is not fixed.
FEA: ItEr71S04BugFixing
2011-03-04 17:58:28 +01:00
Diego Pino Garcia
67f5eb2fc5 [Bug #903] Fix regression: creating a gap out of a LocalDate caused tasks may overlap due to loose of information about hour
FEA: ItEr71S04BugFixing
2011-03-02 20:01:18 +01:00
Diego Pino Garcia
7d74249701 [Bug #903] Fix regression wrong calculation of gaps in limiting resources
FEA: ItEr71S04BugFixing
2011-03-02 17:25:35 +01:00
Diego Pino Garcia
6f02dda4d6 [Bug #903] Limiting resource allocation window does not respect activation periods for the resources
The activation periods of the Calendar assigned to the Resource were not
being considered when doing a limiting allocation.

A gap should be constrained according to the activation periods of time of
the Calendar.

FEA: ItEr71S04BugFixing
2011-03-01 23:09:45 +01:00
Óscar González Fernández
95b3be8486 [Bug #895] Fix bug
The problem was that the resource allocation was a proxy and
mistakenly the validation annotation was applied to the field.

FEA: ItEr71S04BugFixing
2011-02-28 14:07:52 +01:00
Óscar González Fernández
4a0eb44b41 Show summary of validation errors
This way the stack trace will have more information when a
ValidationException happens.

FEA: ItEr71S04BugFixing
2011-02-28 14:07:51 +01:00
Diego Pino Garcia
9e93533ade [Bug #892] Rename labels in 'Overall progress'
ItEr71S04BugFixing
2011-02-27 20:04:11 +01:00