Diego Pino Garcia
60c57cb56e
Fix OrderElementServiceTest
...
AdvanceMeasurement.value is now initialized to 0, so no Exception
launched on this test due to that
FEA: ItEr73S04BugFixing
2011-04-04 13:02:40 +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
59dae6bb43
Updated NavalPlan license headers to 2011.
...
FEA: ItEr68S03CommunityMaterialItEr67S03
2011-01-19 18:40:35 +01:00
Óscar González Fernández
cf18d04498
Make CalendarData return Capacity instead of EffortDuration
...
This change imply changes in dependent entities.
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-19 00:10:18 +01:00
Óscar González Fernández
a13129756a
Refactor test
...
Now uses several transactions to ensure that it's really testing the
implied behavior.
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 22:13:47 +01:00
Óscar González Fernández
77ef632be7
CalendarData is updated receiving Capacity objects
...
The callers now have to construct Capacity objects in a way that the
previous behavior is preserved.
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:41:54 +01:00
Óscar González Fernández
bb1af58fb1
Remove use of java.util.Date for Calendar related entities
...
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:20 +01:00
Óscar González Fernández
8b80e15ad6
Rename method to reflect better meaning
...
FEA: ItEr68OTS05IntroducionLimiteSobreasignacionCalendarios
2011-01-18 18:01:19 +01:00
Diego Pino Garcia
db8ce5099d
[Bug #811 ] Translate pending messages including string 'nif/NIF'
...
FEA: ItEr68S04BugFixing
2011-01-18 11:42:39 +01:00
Diego Pino Garcia
61e84da163
[Bug #795 ] Refactor calendar remove dialog box and change it to a MessageBox
2011-01-10 10:06:32 +01:00
Manuel Rego Casasnovas
f1b322f6e3
[Bug #751 ] Fixed WorkReportServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-17 17:30:17 +01:00
Manuel Rego Casasnovas
2612457d58
[Bug #751 ] Fixed OrderElementServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-15 21:08:48 +01:00
Manuel Rego Casasnovas
6fb8c09ac0
[Bug #751 ] Fixed CostCategoryServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-15 18:58:36 +01:00
Manuel Rego Casasnovas
5186b18dee
[Bug #751 ] Fixed UnitTypeServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-15 18:07:29 +01:00
Óscar González Fernández
2f2ebb8f86
Now by default the order lines are scheduled
...
FEA: ItEr65S06BugFixing
2010-12-15 15:59:50 +01:00
Manuel Rego Casasnovas
fb35f59ebf
[Bug #751 ] Fixed TypeOfWorkHoursServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-15 12:47:05 +01:00
Manuel Rego Casasnovas
70fd6abddc
Fixed some tests in OrderElementServiceTest for MySQL.
...
FEA: ItEr65S06BugFixing
2010-12-14 12:47:27 +01:00
Manuel Rego Casasnovas
f86922f056
[Bug #751 ] Fixed LabelServiceTest for MySQL database.
...
FEA: ItEr65S06BugFixing
2010-12-14 10:12:03 +01:00
Manuel Rego Casasnovas
00fcf6f173
Changed to BigDecimal units attribute in MaterialInfo class.
...
FEA: ItEr65S05DatabaseUpgradeItEr64S07
2010-12-10 10:15:57 +01:00
Susana Montes Pedreira
d22918385b
[Bug #668 ] Fix bug
...
It checks if the order elements have got code before importing them.
FEA : ItEr64S03BugFixing
2010-12-09 12:36:43 +01:00
Susana Montes Pedreira
5ac177e164
Changes the ResourceServiceRest to add the sequence code if it is necessary.
...
It generates the code of the satisfactions of criterion , the
assignments of cost category to resources and the resource calendar.
FEA :ItEr61S04NavalPlanEntities
2010-11-19 10:27:55 +01:00
Óscar González Fernández
300e002add
Remove unused private methods and fields
...
FEA: ItEr62S05BugFixing
2010-10-27 18:18:43 +02:00
Óscar González Fernández
b011982c2a
Remove unused local variables
...
FEA: ItEr62S05BugFixing
2010-10-27 17:50:57 +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
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
23d70111e0
HoursGroup must extend from IntegrationEntity
...
FEA: ItEr61S05BugFixing
2010-09-29 11:16:38 +02:00
Manuel Rego Casasnovas
cc61ab72b9
[Bug #662 ] Removed test "orderWithLabelRepeatedInTheSameBranchIsNotAddedTwice".
...
The test is removed because of since commit
b446658fe2 is not possible to add the same label
twice in the same branch (this is managed with method removeLabelOnChildren that
is automatically called in addLabel).
FEA: ItEr61S05BugFixing
2010-09-28 09:56:26 +02:00
Óscar González Fernández
276c152961
[Bug #644 ] Not allow resource type.
...
It's necessary to execute this statement to migrate previous criterion
types associated with resource.
update criteriontype set resource = resource -1 where resource > 0;
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-17 17:41:58 +02:00
Susana Montes Pedreira
149b293001
[Bug #627 ] it sends the subcontracted advance notification correctly.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-13 16:05:43 +02:00
Óscar González Fernández
f91034fc1b
Fix problem in test
...
It was not throwing the exception due to the cause stated in the test.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-03 19:11:52 +02:00
Óscar González Fernández
d1e55418fe
Cleanup tests.
...
Remove unnecessary catches and format code.
FEA: ItEr60S19TimeUnitDataType
2010-08-25 20:25:38 +02:00
Óscar González Fernández
6536f36b8e
Remove hours methods on BaseCalendar.
...
They are replaced by methods accepting and returning EffortDurations.
FEA: ItEr60S19TimeUnitDataType
2010-08-23 17:42:21 +02:00
Óscar González Fernández
6d831a5572
Remove hours methods on CalendarData
...
FEA: ItEr60S19TimeUnitDataType
2010-08-23 16:20:53 +02:00
Óscar González Fernández
0c3222ba12
Do several cleanups.
...
Removing unused fields, unnecessary catches and accessing static
members through class.
2010-08-23 16:20:53 +02:00
Óscar González Fernández
6df2e3b75b
Change getHours method to getDuration.
...
Instead of returning a number of hours return a EffortDuration.
FEA: ItEr60S19TimeUnitDataType
2010-08-20 14:25:24 +02:00
Manuel Rego Casasnovas
8c6fc0f25d
ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #594 ] Removed unused ICriterionsModel and CriterionsModel.
...
Changed some tests that were using ICriterionsModel.
2010-08-17 15:15:32 +02:00
Manuel Rego Casasnovas
35dd2ac6fa
ItEr60S03XestionDaComunidadeItEr59S03: Updated license headers to 2010.
2010-07-19 09:47:20 +02:00
Manuel Rego Casasnovas
977005d82f
ItEr60S03XestionDaComunidadeItEr59S03: Updated license headers to 2010.
2010-07-19 09:36:44 +02:00
Susana Montes Pedreira
32af27067b
ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in Order Service.
...
it shows the error messages when the importation is incorrect.
2010-07-09 13:48:58 +02:00
Susana Montes Pedreira
961eca61ea
ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in the work report class.
...
it shows the error messages when the importation is incorrect.
2010-07-08 21:22:21 +02:00
Susana Montes Pedreira
61c011e52f
ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in Worker class.
...
it changes the checkConstraintUniqueFirstNameSurnameNif() method by
the checkConstraintUniqueNif() method, because the id must be unique but,
the firstname and surname can be repeated.
2010-07-08 21:22:21 +02:00
Susana Montes Pedreira
bf3f952de7
ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in CostCategory Service.
...
it showsthe error messages when the importation is incorrect.
2010-07-01 15:54:10 +02:00
Susana Montes Pedreira
f43b3f1c80
ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in Calendar Service.
...
It uses the DateConverter class in the CalendarConverter class, and it shows
the error messages when the importation is incorrect.
2010-07-01 15:54:07 +02:00
Manuel Rego Casasnovas
01219e9e6a
ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Reverted changes in a previous commit coming back to XMLGregorianCalendar for resources service.
...
This reverts commit "bafae163". But it does not revert the whole commit, just the changes related with the data type of the date fields in the resource service.
2010-06-28 00:37:04 +02:00
Susana Montes Pedreira
bd1e2bae16
ItEr60S04ValidacionEProbasFuncionaisItEr59S04:[Bug #517 ]
...
Checks if the type of resource is not null.
Initializes to zero the hours if it are null.
2010-06-15 20:07:22 +02:00
Óscar González Fernández
8a94cdeffa
Merge master into scenarios
2010-06-11 20:20:26 +02:00
Susana Montes Pedreira
945d8f40bf
ItEr59S04ValidacionEProbasFuncionaisItEr58S04 : Fixing tests.
...
Fixes the tests OrderModelTest and AddAdvanceAssignmentsToOrderElementTest.
2010-06-03 13:09:35 +02:00
Óscar González Fernández
ffb284ec8c
ItEr58S14RecalculosConexionEscenariosItEr57S15: Modify modificationByOwnerTimestamp when saving an order.
2010-05-17 16:02:06 +02:00