Commit graph

169 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
ca5b86841b [Bug #1325] Fix issue remove criteria from configuration unit
FEA: ItEr76S04BugFixing
2012-01-04 11:29:23 +01:00
Óscar González Fernández
d973c323cb [Bug #1322] Fix bug
The derived day assignments were not being included. This caused that
the resources associated with the derived allocation to have different
instances for the derived allocations, causing a subsequent error.

FEA: ItEr76S04BugFixing
2012-01-04 08:27:07 +01:00
Óscar González Fernández
825bae5f2b Allow to include or exclude DerivedDayAssignments
It's now possible to specify if derived assignments are included or
not when retrieving day assignments from a Task, Order and so on.
2012-01-04 08:27:06 +01:00
Jacobo Aragunde Pérez
856eab4a79 [Bug #1311] Replace Date objects with IntraDayDate objects in SaveCommandBuilder.
The cause of the bug was that IntraDayDates were converted into Date objects,
and then back again to an IntraDayDate with 0 EffortDuration.

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Jacobo Aragunde Pérez
bf4e13c358 [Bug #1242] Don't allow progress end dates superior to the corresponding task end date.
This situation still happened in tasks with completition near to 100% (for
example 99%) and the 'by hours' calculation method.

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Jacobo Aragunde Pérez
519389dc4b Allow reported hours bar in gantt diagram to be wider than the task.
This bug was introduced when fixing the length of progress bars
(in the commit 13389197d9).

FEA: ItEr75S04BugFixing
2012-01-03 16:45:02 +01:00
Manuel Rego Casasnovas
e499ec4652 [Bug #1321] Reseting highlighted days in calendar to prevent issue
FEA: ItEr75S04BugFixing
2012-01-03 08:57:43 +01:00
Manuel Rego Casasnovas
3c5c14d728 [Bug #1323] Fix lazy loading properly derived allocations
FEA: ItEr75S04BugFixing
2012-01-03 08:22:05 +01:00
Jacobo Aragunde Pérez
13389197d9 [Bug #1242] Return end date directly when calculating advance and percentage is 100%.
In that case, no calculations are needed, and since the algorithm has some
defects we avoid them.

FEA: ItEr75S04BugFixing
2012-01-02 13:00:53 +01:00
Jacobo Aragunde Pérez
7518270ced [Bug #1242] Use IntraDayDate to draw the progress bar in leaf Tasks.
The advance bar was always drawn until the end of the day, even when the task
finished in the middle of the day, causing a weird effect.

FEA: ItEr75S04BugFixing
2012-01-02 12:59:26 +01:00
Manuel Rego Casasnovas
e3136719f7 [Bug #1319] Change division method of EffortDuration
Previous method was rounding to zero instead of return a fraction.

FEA: ItEr75S04BugFixing
2011-12-29 08:22:45 +01:00
Manuel Rego Casasnovas
948beb6067 Hide warning messages on bottom when user is not admin
FEA: ItEr75S04BugFixing
2011-12-28 16:17:08 +01:00
Manuel Rego Casasnovas
492a0470c3 [Bug #1288] Return null instead of zero in a just created AdvanceMeasurement
Now when you add a new advance measurement, you will have an empty value.
A test was fixed due to this change.

FEA: ItEr75S04BugFixing
2011-12-28 11:09:27 +01:00
Manuel Rego Casasnovas
80aa4caea2 [Bug #1288] Fix message regarding progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 09:52:34 +01:00
Lucia Garcia Fernandez
59759b2af5 [Bug #1288] Set Decimalbox scale according to progress type precision
FEA: ItEr75S04BugFixing
2011-12-28 09:39:34 +01:00
Manuel Rego Casasnovas
25f9f3396f [Bug #1307] Prevent changing spread progress in children when parents are consolidated
FEA: ItEr75S04BugFixing
2011-12-27 18:15:10 +01:00
Manuel Rego Casasnovas
355d554205 [Bug #1307] Prevent add progress measurement before consolidated day in any parent
FEA: ItEr75S04BugFixing
2011-12-27 11:25:37 +01:00
Manuel Rego Casasnovas
0d14b15448 Refactor method getSpreadIndirectAdvanceAssignmentWithSameType to be used in more places
FEA: ItEr75S04BugFixing
2011-12-27 11:24:40 +01:00
Manuel Rego Casasnovas
bc8c9a73fb Prevent NPE editing progress measurements
FEA: ItEr75S04BugFixing
2011-12-26 13:23:15 +01:00
Manuel Rego Casasnovas
e54a44fe50 [Bug #1308] Remove unneeded preventing create default progress in containers
FEA: ItEr75S04BugFixing
2011-12-23 13:33:03 +01:00
Manuel Rego Casasnovas
60a4e75ac5 [Bug #1305] Prevent adding progress measurement before last consolidated date
FEA: ItEr75S04BugFixing
2011-12-23 07:41:42 +01:00
Manuel Rego Casasnovas
67d18c948c Fix messages related with progress management and consolidations
FEA: ItEr75S04BugFixing
2011-12-23 07:41:42 +01:00
Manuel Rego Casasnovas
96c3aec7bb Disable some options in progress management if there is a consolidated progress
FEA: ItEr75S04BugFixing
2011-12-23 07:21:45 +01:00
Jacobo Aragunde Pérez
b07e51204c [Bug #1304] Make sumOfAssignedEffort return the cached value only for orders.
In other cases, the actual value will be calculated and returned, to use more
accurate data.

FEA: ItEr75S04BugFixing
2011-12-22 13:45:44 +01:00
Jacobo Aragunde Pérez
4de48e1f8e [Bug #1304] Reorder the code to improve the performance with TaskGroups.
FEA: ItEr75S04BugFixing
2011-12-22 13:45:44 +01:00
Manuel Rego Casasnovas
aece422e4c Fix NPE removed advance measurement
FEA: ItEr75S04BugFixing
2011-12-22 09:53:16 +01:00
Jacobo Aragunde Pérez
3d1a5c1aa8 Replace attribute TaskElement.sumOfHoursAllocated with an equivalent attribute
measured in EffortDuration.

FEA: ItEr75S04BugFixing
2011-12-21 13:08:25 +01:00
Manuel Rego Casasnovas
50c83ccfd8 Remove duplicated method in QualityForm 2011-12-21 10:11:37 +01:00
Manuel Rego Casasnovas
32dcc7d29c [Bug #1314] Fix problem in materials report
Initializing scheduling states from order in order to avoid the issue.

FEA: ItEr75S04BugFixing
2011-12-21 08:22:16 +01:00
Manuel Rego Casasnovas
3136bd921b Fix problem with consolidation and specific assignments
FEA: ItEr75S04BugFixing
2011-12-20 18:11:53 +01:00
Manuel Rego Casasnovas
bb4594163d [Bug #1300] Updated intended resources per day after consolidation is added or removed
FEA: ItEr75S04BugFixing
2011-12-20 18:11:53 +01:00
Jacobo Aragunde Pérez
6f42487437 [Bug #1304] Don't use the cached value sumOfHoursAllocated when drawing the
progress bars of tasks.

This unupdated cached value is causing the bug. We will use it only in company
view, where allocations can't change.

FEA: ItEr75S04BugFixing
2011-12-20 17:52:01 +01:00
Nacho Barrientos
922f5cbdf6 [Bug #1312] Fix issue with printing in HTTPs is enabled
FEA: ItEr75S04BugFixing
2011-12-20 17:04:01 +01:00
Manuel Rego Casasnovas
81684c9f73 [Bug #1303] Fix issue removing consolidation using IntraDayDate for task end
Change type of ConsolidatedValue::taskEndDate to IntraDayDate to store too
EffortDuration together with end date.

FEA: ItEr75S04BugFixing
2011-12-20 13:13:23 +01:00
Manuel Rego Casasnovas
53e09fe873 [Bug #1303] Fix issue adding consolidation using IntraDayDate for task end
FEA: ItEr75S04BugFixing
2011-12-20 13:13:23 +01:00
Manuel Rego Casasnovas
1bccac182a Skipping some tests in ScenarioModelTest because they were causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +01:00
Manuel Rego Casasnovas
96939ea070 Remove uneeded test as it was causing problems in Debian Wheezy
FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +01:00
Manuel Rego Casasnovas
1954104c4f Fix problems in MaterialDAOTest and MaterialServiceTest
Tests were not passing in Debian Wheezy

FEA: ItEr75S04BugFixing
2011-12-20 12:36:38 +01:00
Jacobo Aragunde Pérez
e868dfd256 [Bug #1310] Reorder the code to fix the two exceptions happening here.
FEA: ItEr75S04BugFixing
2011-12-20 12:14:13 +01:00
Jacobo Aragunde Pérez
efca992df5 [Bug #1299] Enable scrollbars in the tasks input buffer grid.
According to ZK docs, scrolling is enabled by setting the height attribute.

FEA: ItEr75S04BugFixing
2011-12-19 17:45:06 +01:00
Jacobo Aragunde Pérez
0aadb27f43 [Bug #1297] Add listeners to 'See schedule allocation' buttons every time the panel is redrawn.
FEA: ItEr75S04BugFixing
2011-12-19 14:52:00 +01:00
Jacobo Aragunde Pérez
46ac030d5d [Bug #1297] Reset the list listenersToAdd when changing perspectives.
Not resetting it keeps the old listeners attached to the resources/criteria
selector and name filter.

FEA: ItEr75S04BugFixing
2011-12-17 13:44:16 +01:00
Jacobo Aragunde Pérez
3260623d7e [Bug #1073] Add dependencies with its parent when a milestone is added.
A new operation in the Adapter was implemented. Also the Milestone class was
modified to store a reference to its parent.

FEA: ItEr75S04BugFixing
2011-12-16 11:29:18 +01:00
Jacobo Aragunde Pérez
f5fa10ff81 [Bug #1294] Replace the sentence 'Click on direct link to go to output directly' with a better alternative.
FEA: ItEr75S04BugFixing
2011-12-16 10:55:18 +01:00
Manuel Rego Casasnovas
a25abe4ce2 [Bug #1296] Rename Spanish and Galician .properties files as country was not needed
FEA: ItEr75S04BugFixing
2011-12-15 11:39:10 +01:00
Manuel Rego Casasnovas
93986c5afd [Bug #1296] Remove duplicated *_en_US.properties files after updating *.properties when required
FEA: ItEr75S04BugFixing
2011-12-15 11:39:10 +01:00
Jacobo Aragunde Pérez
923422259e [Bug #1292] Replace Toolbarbutton object for the link to the PDF with an A object.
FEA: ItEr75S04BugFixing
2011-12-14 19:57:43 +01:00
Manuel Rego Casasnovas
56d84ff36c [Bug #1287] Fix NPE opening a project from Gantt view
Like in bug #1290 it avoids NPE when a Task or TaskGroup is not related to any OrderElement.

FEA: ItEr75S04BugFixing
2011-12-14 18:44:07 +01:00
Óscar González Fernández
af84f83c5f [Bug #1229] Look for new resources when moving a task
FEA: ItEr75S04BugFixing
2011-12-12 16:16:40 +01:00
Óscar González Fernández
4e9cd7cdc5 [Bug #1229] Wrap all position mofications
This allows to wrap a task position modification with its subsequent
modifications inside a single transaction.

FEA: ItEr75S04BugFixing
2011-12-12 16:16:37 +01:00