Óscar González Fernández
d5efa31def
Change types to GanttDate in IDependenciesEnforcerHook and INotificationAfterDependenciesEnforcement
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
5dd8420017
Fix bug in comparison of GanttDates
...
The byCases statement must be executed in the argument.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:39:44 +02:00
Óscar González Fernández
85e34c0d77
Fix bug
...
The provided date can be null.
FEA: ItEr61S05BugFixing
2010-10-07 01:39:44 +02:00
Jacobo Aragunde Pérez
0e3788975f
Prevent getHoursAdvanceEndDate() to call calculateLimitDate(Integer) for TaskGroups.
...
That call made the system load all the DayAssignments for children tasks.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-06 17:57:28 +02:00
Óscar González Fernández
6c61f36d28
ITaskFundamentalProperties now works with GanttDates
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 14:29:11 +02:00
Óscar González Fernández
07df77601f
Allow to specify a IntraDayDate when resizing a task
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
6cc0c37ca4
Allow to specify an IntraDayDate when moving a Task
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
910b4eafea
Add GanttDate class and an adapter for business
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
07be2df27e
Remove unused fields
...
FEA: ItEr61S05BugFixing
2010-10-05 21:48:36 +02:00
Óscar González Fernández
bc84bd7729
Use Collections methods max and min to retrieve the smallest and biggest value
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-05 21:48:36 +02:00
Óscar González Fernández
55e6cc458d
Rename method in order to be less confusing
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-05 12:19:32 +02:00
Óscar González Fernández
9d072fda1f
Reload the snapshots only once the transaction has been completed successfully
...
FEA: ItEr61S05BugFixing
2010-10-03 19:38:17 +02:00
Óscar González Fernández
2858d29547
Fix bug
...
The dates can be null so it must be checked
FEA: ItEr61S05BugFixing
2010-10-03 13:34:20 +02:00
Óscar González Fernández
31e2a04c87
Segregate the methods for updating the task from the UI
...
This is intented for segregating the methods that are intended to be
used from the UI that will provide LocalDates from the the methods
that will update the dates directly.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 19:56:28 +02:00
Óscar González Fernández
0bea855f98
Switch IDatesMapper to use types based on joda time instead of dates
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 18:38:18 +02:00
Jacobo Aragunde Pérez
369dd74e41
Replaced the calls to TaskElement.getTotalHoursAssigned() with the new method.
...
Also getTotalHoursAssigned() was renamed to a more specific name.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:38 +02:00
Jacobo Aragunde Pérez
32c430f06a
Added a small modification to the Advanced Allocation screen to make it update the tasks correctly.
...
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:38 +02:00
Jacobo Aragunde Pérez
87a973ae3b
Implemented unit test for the new operation TaskElementDAO.save().
...
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:38 +02:00
Jacobo Aragunde Pérez
f9d85f1969
Implemented TaskElementDAO.save() operation to update sumOfHoursAllocated attribute recursively.
...
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:37 +02:00
Jacobo Aragunde Pérez
71f41b2aea
Added attribute sumOfHoursAllocated to the entity TaskElement.
...
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:37 +02:00
Diego Pino Garcia
863de92aea
Fix bug empty code is detected as repeated code in Order and HoursGroups
...
FEA: ItEr61S05BugFixing
2010-10-01 13:08:34 +02:00
Diego Pino Garcia
ed02e52b8d
Update cobertura plugin to 2.4 and increase heap memory size of cobertura
...
FEA: ItEr61S05BugFixing
2010-10-01 11:50:27 +02:00
Óscar González Fernández
85a86c1cc6
Remove unnecessary import
...
FEA: ItEr61S05BugFixing
2010-10-01 00:53:20 +02:00
Óscar González Fernández
66253cbbea
Add deprecated annotation to potentially dangerous method
2010-10-01 00:53:20 +02:00
Óscar González Fernández
f419a6d38c
[Bug #665 ] Fix bug
...
When allocating the hours in all a semester, only some minutes where
allocated each day. The error was that the day assigments that didn't
have at least one hour were discarded. Now only the ones with an
EffortDuration of zero are discarded.
FEA: ItEr61S05BugFixing
2010-10-01 00:52:31 +02:00
Óscar González Fernández
bf46ea2e33
Fix bug introduced in AdvancedAllocationController when changing internal types of Interval
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 00:23:18 +02:00
Óscar González Fernández
cd065cbc14
Protect against effortDuration being null.
...
Use always getter to protect against this possibility. The problem
must lie in a IntraDayDate created as result of a migration such that
the column for effortDuration is null. Otherwise a newly created
IntraDayDate never has a null effortDuration.
FEA: ItEr61S05BugFixing
2010-10-01 00:03:00 +02:00
Óscar González Fernández
c898f92818
Fix bug
...
It must call the method instead of retrieving the field
FEA: ItEr61S05BugFixing
2010-09-30 22:13:24 +02:00
Óscar González Fernández
1c0da6e7f8
Fix bug
...
Method was calling itself.
FEA: ItEr61S05BugFixing
2010-09-30 22:13:24 +02:00
Óscar González Fernández
7d09ed0980
Change Interval to use LocalDates and associated changes
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:24 +02:00
Óscar González Fernández
966993e10f
Inherit from general case in zoom level four
...
Weeks do not fit into months.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:24 +02:00
Óscar González Fernández
9723e75925
Extract subclass for typical case in which subintervals fit the parent intervals
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
55e4c8a7c6
Pull up TimeTrackerStateUsingJodaTime to TimeTrackerState
...
Now all zoom levels are based on the same superclass
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
0e8a61715f
Use a less restrictive type specifying the minimun period
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
719ce60fbf
Remove getLength and setLength milliseconds from ITaskFundamentalProperties
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
56dbc8d099
Add final constraint to field
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
5cd724648b
Remove unused constructor
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
d8b3eed6d8
setBeginDate no longer returns the length
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
88ee2d8231
Notify end dates events instead of length
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
749bf03981
Add getEndDate and setEndDate to ITaskFundamentalProperties
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
79002df918
Remove unused fields
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Diego Pino Garcia
d3ce1413ef
Added report 'hours worked per worker in a month'
...
FEA: ItEr61S06ExceptionTypeEntity
2010-09-30 00:05:29 +02:00
Diego Pino Garcia
341145a597
Since HoursGroup extends IntegrationEntity it doesn't need its own 'code' field anymore
...
* Move validation unique code (Order, HoursGroup) to outer toEntity() method
* HoursGroup constructor should call IntegrationEntity.create() before
setting code, to avoid override its value
* orderWithOrderLineWithInvalidHoursGroup() expects only 1 constraint violation
as validation of code is not checked twice
FEA: ItEr61S05BugFixing
2010-09-29 17:37:17 +02:00
Óscar González Fernández
998ae94e75
Fix problem when adding extra hours at the end date of a partially completed date
...
If you add extra hours to a partially completed last day and you quit
the same extra hours to another day the resources per day count
changes and this is confusing for the user. The implemented solution
is to keep the same IntraDayDate end when modifying the last day.
The real solution for the underlying would be to keep an spec object
with the desired values from the user so when having to reallocate
uses the original intention of the user and not the current resources
per day and total hours values.
FEA: ItEr61S05BugFixing
2010-09-29 16:10:30 +02:00
Óscar González Fernández
7ee29c0da5
Use asExclusiveEnd mechanism
...
FEA: ItEr61S05BugFixing
2010-09-29 15:23:03 +02:00
Diego Pino Garcia
681c3fdc18
Fix bug validation 'OrderElement code must be unique' must be done for all OrderElements and not only for OrderLineGroups
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
5b0e11fb41
Add validation 'HoursGroup code must be unique' in the service layer
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
e76cd09bee
Add new test for checking HoursGroupCode must be unique
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
86eb25c048
Add validation 'OrderElement code must be unique' in the service layer
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
1207aa9198
Move constraint validation hoursgroup.code must be unique to OrderModel.save()
...
HoursGroup.code must be unique for each OrderElement. This constraint
was being validation in HoursGroup, as an Hibernate validation. This
validation was very slow has for each HoursGroup it was needed to check
against all other HoursGroup. I moved this validation to
OrderModel.save() and speed up the process, keeping the same
funcionality.
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:46 +02:00