Commit graph

5967 commits

Author SHA1 Message Date
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
Diego Pino Garcia
fd7530cbf0 Set date of new stretch starting from consolidated date if any
* Initialize amount of work too.

FEA: ItEr74S04BugFixing
2011-05-06 16:01:46 +02:00
Diego Pino Garcia
f02f541dd0 Renamed variables to fit better name
FEA: ItEr74S04BugFixing
2011-05-06 16:01:46 +02:00
Diego Pino Garcia
62635fd2ca Fix misspelling
FEA: ItEr74S04BugFixing
2011-05-06 16:01:43 +02:00
Óscar González Fernández
98562472bc [Bug #1021] Fix bug
Criteria tree built considering the criteria's hierarchy.

FEA: ItEr74S04BugFixing
2011-05-06 13:20:28 +02:00
Manuel Rego Casasnovas
58b0baf18b Fixed some tests due to previous commit.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-06 13:04:29 +02:00
Manuel Rego Casasnovas
ad59c56cca Added check for CHILDREN advance in container and fixed detected issue.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-06 11:51:13 +02:00
Manuel Rego Casasnovas
c7521e8c9a Added test to check CHILDREN advance marked as spread by default and fixed issues.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-06 10:46:27 +02:00
Óscar González Fernández
0059cccc0f [Bug #1046] Fix bug
The resources per day inputs are reset when doing recommended
allocation. If the resources per day are edited they are set as zero
and the focus is moved there. Otherwise they are set to unknown,
i.e. null.

FEA: ItEr74S04BugFixing
2011-05-05 20:14:42 +02:00
Óscar González Fernández
03d9ebb879 [Bug #1049] Fix bug
Milestones don't have calendars and the calendar of the task was
always reattached.

FEA: ItEr74S04BugFixing
2011-05-05 19:07:27 +02:00
Óscar González Fernández
28d642376a [Bug #1045] Fix bug
Avoid to execute some constraint violations when they are not in a ZK
context.

FEA: ItEr74S04BugFixing
2011-05-05 18:42:11 +02:00
Óscar González Fernández
e9f35966db Don't show seconds in EffortDurationBox
The amount shown is rounded to the nearest minute.

FEA: ItEr74S04BugFixing
2011-05-05 17:12:49 +02:00
Óscar González Fernández
f4d4bddff6 [Bug #648] Add new more lenient decimal box
It always supports dot and comma as decimal separator.

FEA: ItEr74S04BugFixing
2011-05-04 19:00:45 +02:00
Manuel Rego Casasnovas
1ddeb946fa [Bug #1039] Added new test to check spread advance and set them randomly if needed.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 18:04:03 +02:00
Manuel Rego Casasnovas
0041ff7512 [Bug #1039] Fixed broken tests due to bug solution.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 17:11:53 +02:00
Manuel Rego Casasnovas
e51c146b80 [Bug #1039] Fixed issue with spread advance when it is removed.
* Added test that causes the problem
* Fixed first issue as CHILDREN indirect advance was added before a
  direct advance, and then always appear as spread.
* Fixed problem detected in the bug itself, updating spread advance when
  some advance is removed.

FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 17:11:53 +02:00
Susana Montes Pedreira
e56e561b8e [Bug #1003] it marks MachineModel with @OnConcurrentModification to intercept an OptimisticLockingFailureException.
FEA: ItEr74S04BugFixing
2011-05-04 16:59:18 +02:00
Susana Montes Pedreira
4c32d395b5 [Bug #1000] it marks OrderModel with @OnConcurrentModification to intercept an OptimisticLockingFailureException.
FEA: ItEr74S04BugFixing
2011-05-04 16:59:17 +02:00
Diego Pino Garcia
0093878872 [Bug #998] Fix layout
Renamed infinetlyOverAssignable as unlimited

FEA: ItEr74S04BugFixing
2011-05-04 16:54:20 +02:00
Diego Pino Garcia
5ce2e526b1 [Bug #998] Fix column inherited in Calendars
FEA: ItEr74S04BugFixing
2011-05-04 16:54:20 +02:00
Manuel Rego Casasnovas
b6737b22e3 Fixed broken tests in previous commit related with CHILDREN advance behaviour.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 16:41:04 +02:00
Manuel Rego Casasnovas
efd65cca4d Changed tests and fixed issue with CHILDREN advance.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 14:00:34 +02:00
Óscar González Fernández
f2835347b9 [Bug #1029] Fix bug
dontPoseAsTransientAnymore needed.

FEA: ItEr74S04BugFixing
2011-05-04 13:51:48 +02:00
Óscar González Fernández
e8c762a520 Fix precondition error in finishing criterions
The descendants of the criterion were being matched too, when only the
exact match was required.

FEA: ItEr74S04BugFixing
2011-05-04 13:28:19 +02:00
Óscar González Fernández
5ed78405f7 [Bug #1023] Now it can be marked as not finished
FEA: ItEr74S04BugFixing
2011-05-04 13:28:19 +02:00
Manuel Rego Casasnovas
18996db6a3 Added more tests for criteria in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 12:19:05 +02:00
Manuel Rego Casasnovas
06c62e9d49 Added more tests for advances in WBS and fixed detected issue.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 11:40:47 +02:00
Manuel Rego Casasnovas
dffcf1f1de Added more tests for labels in WBS and refactorized some parts.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 11:15:32 +02:00
Manuel Rego Casasnovas
01d0bf9a8a Reorganized code of last tests for WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 10:52:07 +02:00
Manuel Rego Casasnovas
a34484ec25 Added more tests for criterions in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 10:39:25 +02:00
Manuel Rego Casasnovas
ceb76cf283 Fixed issues in advances related to previous tests.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 09:09:05 +02:00
Manuel Rego Casasnovas
96f2dc841f Added more tests for advances in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 18:07:32 +02:00
Manuel Rego Casasnovas
37d21e8895 Added more tests for labels in WBS and fixed detected issue.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Manuel Rego Casasnovas
b9de4bc47a Added more test to check labels behaviour on WBS movements.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Manuel Rego Casasnovas
25fe6947c9 Add test to check same criterion on WBS movement.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Susana Montes Pedreira
59c29c3106 [Bug #1044] it check out the subcontracted direct advance assignment exists before reattaching its measures.
FEA: ItEr74S04BugFixing
2011-05-03 16:35:52 +02:00
Óscar González Fernández
f86af62210 [Bug #1011] Fix bug
At limiting allocation when setting the day assignments, it used the
previous task's start and end date values instead of the ones just
calculated.

FEA: ItEr74S04BugFixing
2011-05-03 16:26:45 +02:00
Manuel Rego Casasnovas
54013a97fe [Bug #1040] Fixed problem added in previous commit.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 15:38:47 +02:00
Manuel Rego Casasnovas
70fd6b4299 [Bug #1040] Added new checks on tests and fixed problem for orphan children advance types.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 13:31:26 +02:00
Manuel Rego Casasnovas
9e4ffd25ee Removed unused variables in test.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 13:31:26 +02:00
Diego Pino Garcia
5e0be4f20f [Bug #1028] Removed unnecesary save of rootTask
Apparently this save, that served to reattach the rootTask before
calculating the progress related with critical path, was causing the
issue with the ConcurrentModificationException.

The reattach is no needed as all tasks in the graph are attached at
this point.

FEA: ItEr74S04BugFixing
2011-05-03 12:06:11 +02:00
Diego Pino Garcia
8c5fe0bf11 [Bug #1028] Avoid bug
updateAndRefresh() causes ConcurrentModificationException, however it's
need to do an update() when the project is saved, the graph changes, etc

The concurrent modification happens if a resource is allocated in a task
and the save project. If the project is saved before and then the
resource is allocated and save, it's OK.

Use refresh() instead to avoid the bug.

FEA: ItEr74S04BugFixing
2011-05-03 11:39:27 +02:00
Manuel Rego Casasnovas
8794d7d032 [Bug #1038] Added test and fixed bug for repeated labels in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:51:35 +02:00
Manuel Rego Casasnovas
a468460246 [Bug #1037] Fixed other tests affected by changes in bugfix.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:01 +02:00
Manuel Rego Casasnovas
70f0a7d7d4 [Bug #1037] Added test and fixed bug for advances of same type.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Manuel Rego Casasnovas
e0a858d8ce Refactorized test to have AdvanceType as checking variables.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Manuel Rego Casasnovas
ddf238e9df Basic test for move OrderLine to OrderLineGroup in OrderElementTreeModel.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Diego Pino Garcia
26c1bbdb68 [Bug #987] Pretty print ValidationExceptions as WrongValueExceptions in CostCategories
FEA: ItEr74S04BugFixing
2011-05-03 08:38:45 +02:00