Revert "[Bug #1253] Constraint for EffortDuration in advanced allocation"
This reverts commit f5d30b8fe6.
This commit is contained in:
parent
73fb16d154
commit
54b134c035
1 changed files with 6 additions and 1 deletions
|
|
@ -38,7 +38,12 @@ public class EffortDurationBox extends Textbox {
|
|||
|
||||
@Override
|
||||
protected Object unmarshall(Object value) {
|
||||
return coerceFromString((String) value);
|
||||
EffortDuration result = EffortDuration
|
||||
.parseFromFormattedString((String) value);
|
||||
if (result == null) {
|
||||
return EffortDuration.zero();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue