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