Fix exception in progress dashboard if there are no progress in the project yet
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
a501d5307d
commit
af2fb68516
1 changed files with 3 additions and 0 deletions
|
|
@ -134,6 +134,9 @@ public class OrderEarnedValueCalculator extends EarnedValueCalculator implements
|
|||
|
||||
private BigDecimal getValueAt(SortedMap<LocalDate, BigDecimal> map,
|
||||
LocalDate date) {
|
||||
if (map.isEmpty()) {
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
BigDecimal result = map.get(date);
|
||||
if (result != null) {
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue