Commit graph

5843 commits

Author SHA1 Message Date
Diego Pino Garcia
73fbbbdbaa [Bug #976] Add an initial only-read stretch in advance allocation functions
FEA: ItEr74S04BugFixing
2011-04-22 19:04:49 +02:00
Diego Pino Garcia
0eac049b1d Added toString()
FEA: ItEr74S04BugFixing
2011-04-22 19:04:40 +02:00
Diego Pino Garcia
a4c19051d2 Added constructor and contructor copy
FEA: ItEr74S04BugFixing
2011-04-22 19:04:18 +02:00
Diego Pino Garcia
9fcd7cb5d0 Moved member attributes to beginning of class
FEA: ItEr74S04BugFixing
2011-04-22 19:04:07 +02:00
Diego Pino Garcia
89b1519d4b Moved StretchesFunction$Type to its own file
* Renamed it as StretchesFunctionTypeEnum
   * Renamed StretechesFunctionTypeEnum.DEFAULT to STRETCHES

FEA: ItEr74S04BugFixing
2011-04-22 19:03:45 +02:00
Diego Pino Garcia
55b63527cd Changed contructor to protected
FEA: ItEr74S04BugFixing
2011-04-22 19:03:34 +02:00
Susana Montes Pedreira
9063bbee1a Refactoring getAdvanceMeasurement method to getAdvanceMeasurementAtDateOrPrevious. 2011-04-20 17:41:57 +02:00
Susana Montes Pedreira
9ddd9764b1 [Bug #1005] subcontracted task sends each progress measurement correctly.
To update a progress measurement first one, it is looked for a progress
measurement with the same exact date, and if this one does not exists it
adds a new progress measurement.

FEA: ItEr74S04BugFixing
2011-04-20 17:08:08 +02:00
Manuel Rego Casasnovas
c785d899db Added more tests for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Manuel Rego Casasnovas
07bb633f84 Added basic test for OrderElementTreeModel::unindent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Manuel Rego Casasnovas
ee497d2069 More checks in basic test for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 15:52:11 +02:00
Diego Pino Garcia
2a9a649842 [Bug #999] Don't pose as transient anymore other objects hanging from Calendar
FEA: ItEr74S04BugFixing
2011-04-20 14:26:28 +02:00
Diego Pino Garcia
6808910c07 [Bug #988] Check calendar is not being referenced by other entities
FEA: ItEr74S04BugFixing
2011-04-20 13:58:53 +02:00
Diego Pino Garcia
0a0a80b9a1 [Bug #988] Remove former resource calendar when a new calendar is selected for a machine
FEA: ItEr74S04BugFixing
2011-04-20 13:58:48 +02:00
Diego Pino Garcia
725aee5da1 [Bug #988] Remove former resource calendar when a new calendar is selected for a worker
FEA: ItEr74S04BugFixing
2011-04-20 13:57:48 +02:00
Diego Pino Garcia
568fbd6d96 [Bug #988] Create test saveAndRemoveResourceCalendar
FEA: ItEr74S04BugFixing
2011-04-20 13:57:48 +02:00
Diego Pino Garcia
1f7a960f53 [Bug #1004] Fix bug LazyInitializationException of Calendars
FEA: ItEr74S04BugFixing
2011-04-20 12:31:20 +02:00
Manuel Rego Casasnovas
a8a9d3f4ec Added basic test for OrderElementTreeModel::indent method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-20 10:01:25 +02:00
Óscar González Fernández
3f0e700050 [Bug #997] Fix error in generic allocation
The resources per day are taking into account when distributing the
load for the last day. The remaining load is divided by the resources
per day and it tries first to assign this duration.

FEA: ItEr74S04BugFixing
2011-04-19 21:12:13 +02:00
Óscar González Fernández
d7e206a264 Rename method to reflect better meaning
FEA: ItEr74S04BugFixing
2011-04-19 21:11:46 +02:00
Óscar González Fernández
e320323aef Add Javadoc comment explaining the semantics of IntraDayDate#getEffortDuration
FEA: ItEr74S04BugFixing
2011-04-19 21:11:18 +02:00
Manuel Rego Casasnovas
54c2fc2817 Removed added method in EntitiesTree and moved to business.
* Created a new method "onChildAddedAdditionalActions" on
  TreeNodeOnListWithSchedulingState.
* Calling "updateCriterionRequirements" from new method instead of EntitiesTree
  implementation.

FEA: ItEr74S07WBSTreeRefactoring
2011-04-19 18:06:33 +02:00
Diego Pino Garcia
00ef88227a [Bug #999] Fix bug set as dontPoseAsTransientAnymore after clicking SaveAndContinue
FEA: ItEr74S04BugFixing
2011-04-19 13:20:46 +02:00
Manuel Rego Casasnovas
a494cb23ab Fixed lazy when toLeaf is called manipulating WBS.
FEA: ItEr74S04BugFixing
2011-04-18 19:56:19 +02:00
Óscar González Fernández
2dc4e0ee4a [Bug #952] Fix bug
Use LinkedHashMap to keep the order and call to Resource.sortByName
where needed.

FEA: ItEr74S04BugFixing
2011-04-18 17:59:58 +02:00
Óscar González Fernández
45af764729 [Bug #992] Fix bug
Revert "[Bug #952] Show list of resources in 'Resource load view' in
order". The left part is always ordered by alphabetic order, but the
right part remained in the original order.

This reverts commit 7bb18e5ea4.

FEA: ItEr74S04BugFixing
2011-04-18 17:02:23 +02:00
Óscar González Fernández
fad2f076f8 [Bug #993] Fix bug
Take into account the resources per day when substracting or adding
hours to an IntraDayDate.

FEA: ItEr74S04BugFixing
2011-04-18 16:28:27 +02:00
Óscar González Fernández
4d1e5c9f8b [Bug #993] Add methods to increase and decrease a IntraDayDate
It takes into account the ResourcesPerDay used.

FEA: ItEr74S04BugFixing
2011-04-18 16:28:26 +02:00
Diego Pino Garcia
a5dc1f1888 [Bug #990] When removing a profile check is not referenced by order authorizations
FEA: ItEr74S04BugFixing
2011-04-18 14:03:46 +02:00
Diego Pino Garcia
1da81f798b [Bug #990] When removing a profile check is not referenced by other users
FEA: ItEr74S04BugFixing
2011-04-18 13:46:26 +02:00
Manuel Rego Casasnovas
f0994fb518 Changed toContainer to set code to null as it was done till now.
FEA: ItEr74S04BugFixing
2011-04-18 13:37:19 +02:00
Manuel Rego Casasnovas
19a9946383 Added several tests that check add and remove elements on tree.
FEA: ItEr74S04BugFixing
2011-04-18 13:09:03 +02:00
Manuel Rego Casasnovas
13edee523e Adding OrderElementTreeModelTest with basic tests for addElement operation.
FEA: ItEr74S04BugFixing
2011-04-18 13:09:03 +02:00
Manuel Rego Casasnovas
5ee0bb05b8 Added method getCriterionType in PredefinedCriterionTypes.
* Modified CriterionTypeDAO to only provide a method findByName used in several places.

FEA: ItEr74S04BugFixing
2011-04-18 13:09:02 +02:00
Lorenzo Tilve Álvaro
a697db43e3 Added missing MANIFEST file
FEA: ItEr74S04BugFixing
2011-04-18 12:37:42 +02:00
Lorenzo Tilve Álvaro
b8899ba3c7 Set gradient default property to false in timeplotz
It is necessary to run zk-Timeplot-1.0_2/deploy.sh to regenerate the .jar and
delete the caches to refresh the browser javascript files.

FEA: ItEr74S04BugFixing
2011-04-18 12:22:50 +02:00
Lorenzo Tilve Álvaro
cacb20aed5 Added MANIFEST file to timemplotz to avoid error with deploy.sh
FEA: ItEr74S04BugFixing
2011-04-18 12:22:50 +02:00
Óscar González Fernández
d73ae0b42d [Bug #992] Fix bug
Use LinkedHashMap to preserve the order of the allocations.

FEA: ItEr74S04BugFixing
2011-04-18 12:21:14 +02:00
Diego Pino Garcia
da24837c75 [Bug #991] When removing an hours type check is not referenced by other entities
FEA: ItEr74S04BugFixing
2011-04-18 12:03:11 +02:00
Óscar González Fernández
1e701e1adc Prevent exiting by accept if goals are not satisfied
FEA: ItEr74S04BugFixing
2011-04-18 01:42:16 +02:00
Óscar González Fernández
6cf707573a Warn if the goals set are not satisfied when applying the allocation
FEA: ItEr74S04BugFixing
2011-04-18 01:41:16 +02:00
Óscar González Fernández
3f875ac898 Usability improvement on calendar's work week edition
When marking a work day as not inhereting, the initial value is the
parent's calendar value.

FEA: ItEr74S04BugFixing
2011-04-15 17:36:11 +02:00
Óscar González Fernández
1c8f0ca864 [Bug #989] Fix bug
Discount the removed allocations too.

FEA: ItEr74S04BugFixing
2011-04-15 15:49:23 +02:00
Óscar González Fernández
e7bf3dc4dd [Bug #989] Support discounting the hours of several allocations
FEA: ItEr74S04BugFixing
2011-04-15 15:49:23 +02:00
Óscar González Fernández
e03d524613 Rename method so its meaning is easier to understand
FEA: ItEr74S04BugFixing
2011-04-15 15:49:23 +02:00
Diego Pino Garcia
e6e9793a38 [Bug #986] Prevent removing a label type that is being used by and orderelement
FEA: ItEr74S04BugFixing
2011-04-15 15:10:14 +02:00
Diego Pino Garcia
2c71128881 [Bug #986] Prevent removing a label that is being used by an orderelement
FEA: ItEr74S04BugFixing
2011-04-15 14:30:04 +02:00
Diego Pino Garcia
eb901eac64 [Bug #986] Set cascade to none in mapping between Labels and OrderElements
Remove of a label should not cascade removing of its order elements

FEA: ItEr74S04BugFixing
2011-04-15 14:29:27 +02:00
Diego Pino Garcia
30d7c3fc51 [Bug #986] Remove unused code
FEA: ItEr74S04BugFixing
2011-04-15 14:29:27 +02:00
Diego Pino Garcia
71082a7470 [Bug #987] Don't select hour type if there are no items in the list of hours type
FEA: ItEr74S04BugFixing
2011-04-15 13:44:01 +02:00