Commit graph

6014 commits

Author SHA1 Message Date
Susana Montes Pedreira
77bf52ee44 [Bug #996] fixing bug in desconsolidation action.
it only removes and adds the new day assignments that have been reassigned.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Susana Montes Pedreira
b6f76b9ee4 [Bug #996] Update the end date of the task correctly.
The new date is equal to the new finish of task more one day.
So that the end date is not included in the reassigning of hours.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Susana Montes Pedreira
7186362a3b [Bug #996] Calculate correctly the proportion of hours for each day.
Now the proportion is calculated differently for the consolidated values
and according to the percentage of the consolidation to which it belongs.

FEA: ItEr74S04BugFixing
2011-05-11 17:42:02 +02:00
Manuel Rego Casasnovas
0ff719101e [Bug #1041] Fixed issues with default password warning messages.
FEA: ItEr74S04BugFixing
2011-05-11 17:26:24 +02:00
Manuel Rego Casasnovas
408686138f [Bug #1065] Fixed issue adding method to open a new transaction on DAO.
* Added method findUniqueByNameAnotherTransaction to
  CalendarExceptionTypeDAO.
* Renamed method findByName to findUniqueByName in
  CalendarExceptionTypeDAO.

FEA: ItEr74S04BugFixing
2011-05-11 10:25:37 +02:00
Manuel Rego Casasnovas
41c357a3c3 Revert "[Bug #1006] it catchs HibernateOptimisticLockingFailureException in validator method"
This reverts commit d3be77ff43.
2011-05-11 09:52:31 +02:00
Susana Montes Pedreira
d3be77ff43 [Bug #1006] it catchs HibernateOptimisticLockingFailureException in validator method
of the CalendarExceptionType Entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 20:32:17 +02:00
Susana Montes Pedreira
73fbd7b969 [Bug #1002] it catchs HibernateOptimisticLockingFailureException in validator method
of the orderElementTemplate Entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 19:35:58 +02:00
Susana Montes Pedreira
bb04626999 [Bug #1008] it catchs HibernateOptimisticLockingFailureException in validator
method of the  workReportType entity.

It is caught in the validator. Otherwise it would be wraped by hibernate and would
bypass the automatic handling of OptimisttcLockingFailureExceptions

FEA: ItEr74S04BugFixing
2011-05-10 19:35:49 +02:00
Susana Montes Pedreira
c5de10fa0e [Bug #1061] it marks LimitingResourceQueueModel with @OnConcurrentModification
to intercept an OptimisticLockingFailureException.

FEA: ItEr74S04BugFixing
2011-05-10 19:35:35 +02:00
Manuel Rego Casasnovas
811b7ba759 [Bug #1043] Fixed issue changing constraintDate to IntraDayDate.
* Changed constraintDate attribute in class TaskPositionConstraint to
  IntraDayDate.
* Made all modifications needed to get this change working.

FEA: ItEr74S04BugFixing
2011-05-10 18:07:09 +02:00
Óscar González Fernández
47072040b5 Remove enforceAllRestrictions call
It was done to force the showing of the constraint violations after
the components have been created. Now this is not needed thanks to the
support for receiving pending of notification events.

FEA: ItEr74S04BugFixing
2011-05-10 17:56:36 +02:00
Óscar González Fernández
c60874af46 Add support for receiving not notified events
Some events can be lost due to not existing a listener at the
time. Now they are stored and when adding a listener it can be
configured to receive all pending events.

FEA: ItEr74S04BugFixing
2011-05-10 17:55:56 +02:00
Óscar González Fernández
f09771b001 [Bug #1048] Fix bug
When a task is fixed, no constraints were preserved and the last check
for all constraints was avoided. Now although the task is not moved
due to be fixed, the final check with all constraints is done.

FEA: ItEr74S04BugFixing
2011-05-10 17:55:12 +02:00
Manuel Rego Casasnovas
d1342cc4b8 [Bug #1064] Fixed more problems related with this issue.
FEA: ItEr74S04BugFixing
2011-05-10 16:33:05 +02:00
Manuel Rego Casasnovas
9a43ab48fa [Bug #1064] Fixed bug removing unneeded code to update criteria.
FEA: ItEr74S04BugFixing
2011-05-10 12:59:30 +02:00
Óscar González Fernández
d31e03fe44 Rename URLHandler to EntryPointsHandler
The new name reflects better is meaning.

FEA: ItEr74S04BugFixing
2011-05-10 12:38:40 +02:00
Óscar González Fernández
bbc49962cf Fix method name and reuse it
FEA: ItEr74S04BugFixing
2011-05-10 12:15:19 +02:00
Óscar González Fernández
086c1891dd Fix regression introduced in c05150b234
Most pages only handled entry points through a bookmark change. Now
they handle requests with matrix parameters too.

FEA: ItEr74S04BugFixing
2011-05-10 12:11:39 +02:00
Óscar González Fernández
0dfea240ee Use capture mechanism instead of building urls manually
The capture mechanism is checked at compile time so it's safer than
building the links manually.

FEA: ItEr74S04BugFixing
2011-05-09 19:25:39 +02:00
Óscar González Fernández
c05150b234 When use redirect avoid to use fragment
The fragment is the part after the pound, #. If a fragment is used,
first the page is loaded and then the fragment is processed
afterwards. Not using fragments it can go directly to the correct
page.

FEA: ItEr74S04BugFixing
2011-05-09 16:22:56 +02:00
Óscar González Fernández
eaf2538a64 [Bug #1001] Fix bug
Use new mechanism for handling OptimisticLockingFailureException on
arbitrary interfaces. There is no model on which to apply a
@OnConcurrentModification.

FEA: ItEr74S04BugFixing
2011-05-09 16:22:56 +02:00
Óscar González Fernández
82b825e071 Add mechanism for handling OptimisticLockingFailureException on random objects
It uses a transparent proxy.

FEA: ItEr74S04BugFixing
2011-05-09 16:22:56 +02:00
Óscar González Fernández
04a510878c Add mechanism to capture the redirection to a entry point
The redirection is not done and the redirected path is returned
instead.

FEA: ItEr74S04BugFixing
2011-05-09 16:22:55 +02:00
Óscar González Fernández
805ffbd7cd Add missing metadata to entry points
FEA: ItEr74S04BugFixing
2011-05-09 16:22:55 +02:00
Manuel Rego Casasnovas
6a0cbd243b Removed PDF option in printing configuration dialog.
FEA: ItEr74S05PrintingSupportItEr73S05
2011-05-09 12:50:54 +02:00
Diego Pino Garcia
da9fe42415 [Bug #975] Set last stretch with 100% completition as read-only
This stretch is never added to the list of stretches, that means, it
won't be saved. On the contrary, is inferred from the endDate of the task.

FEA: ItEr74S04BugFixing
2011-05-09 10:18:14 +02:00
Diego Pino Garcia
efa5cafb82 Added method isConsolidated()
Advance function (stretches, interpolated) cannot be applied on
consolidated intervals.

FEA: ItEr74S04BugFixing
2011-05-09 10:18:14 +02:00
Lorenzo Tilve Álvaro
5b5c5cbf56 Improved pretty-print of resources for assignment
FEA: ItEr74S04BugFixing
2011-05-09 02:46:23 +02:00
Lorenzo Tilve Álvaro
78210d3240 [Bug #966] Revamped materials assignment interface
FEA: ItEr74S04BugFixing
2011-05-09 02:33:53 +02:00
Lorenzo Tilve Álvaro
869191bc67 Revamped calendars administration
FEA: ItEr74S06CalendarAdminInterfaceItEr73S06
2011-05-09 02:33:53 +02:00
Diego Pino Garcia
f9b4497b72 [Bug #1063] Fix NullPointerException
Use ComponentsFinder to find which row contains WorkReportLine.
If a ValidationException happens but cannot find a row that contains
the WorkReportLine that launched the exception, then show
ValidationException as messageForUser.

FEA: ItEr74S04BugFixing
2011-05-08 20:08:31 +02:00
Óscar González Fernández
f2eb219ce2 [Bug #1059] Fix bug
Fractions can overflow if the numerator and the denominators they
carry are big. In that case big decimals are used instead.

FEA: ItEr74S04BugFixing
2011-05-06 19:53:11 +02:00
Óscar González Fernández
955c39181f [Bug #1050] Fix bug
Don't force the insertion always at the top level.

FEA: ItEr74S04BugFixing
2011-05-06 17:52:37 +02:00
Óscar González Fernández
3bb62c0591 Some refactorings
Use internally positions for registering the tasks simplifying
methods.

FEA: ItEr74S04BugFixing
2011-05-06 17:51:53 +02:00
Lorenzo Tilve Álvaro
ceedf53da0 [Bug #802] Rearranged context menu and added vertical separators
FEA: ItEr74S04BugFixing
2011-05-06 17:10:15 +02:00
Lorenzo Tilve Álvaro
04bb4a2ad2 [Bug #1056] Added default icon to Delete Milestone Command
FEA: ItEr74S04BugFixing
2011-05-06 17:10:15 +02:00
Lorenzo Tilve Álvaro
c0829c6983 Fixed small regression with cell styles in advanced allocation
FEA: ItEr74S04BugFixing
2011-05-06 17:10:15 +02:00
Lorenzo Tilve Álvaro
546d54b24d [Bug #1035] Changed left margin of timeplot to fix gantt alignment issues
FEA: ItEr74S04BugFixing
2011-05-06 16:37:55 +02:00
Lorenzo Tilve Álvaro
52e71cc74b [Bug #1031] Style improvements in assigned resources popup
FEA: ItEr74S04BugFixing
2011-05-06 16:37:55 +02:00
Lorenzo Tilve Álvaro
5c137e6c3e [Bug #1024] Fixed showing progress in print view
FEA: ItEr74S04BugFixing
2011-05-06 16:37:55 +02:00
Diego Pino Garcia
b61f1ac1a2 [Bug #975] Refactored calculation of interpolation
* The dayPoints and hoursPoints are calculated since the beginning of
the task.
* startInclusive is the first day with non-consolidated days.
* The function is only applied from (startInclusive, endExclusive).
* First, an allocation is done on the defined interval. Then the
remaining hours not used are calculated and the function is
applied again.
* Used function onInterval(start, end) for doing allocation instead of
iterating day by day.

FEA: ItEr74S04BugFixing
2011-05-06 16:01:48 +02:00
Diego Pino Garcia
30c7f4a2a4 [Bug #975] Intervals defined by stretches should include consolidated stretch
Validation methods for interpolation should also include consolidated
stretch.

FEA: ItEr74S04BugFixing
2011-05-06 16:01:48 +02:00
Diego Pino Garcia
6aa602be5f [Bug #975] Use stretchesPlusConsolidated for drawing Graph
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
3cc1718288 [Bug #975] Renamed getStretches() to getAllStretches()
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
0110098796 [Bug #975] Added method getStretchesPlusConsolidated()
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
e9aac01b24 [Bug #975] Added method getStretchesDefinedByUser()
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
51d4f8594b Fixed possible OutOfBoundsException
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
938a6d852e If loadedProportion is negative set it to zero
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00
Diego Pino Garcia
90becdb93e Show only two decimals in loadProportion and amountOfWork
FEA: ItEr74S04BugFixing
2011-05-06 16:01:47 +02:00