ItEr40S05ValidacionEProbasFuncionaisItEr39S05: [Bug #199] Creating calendar when saving if it is null.
This commit is contained in:
parent
42a36d0631
commit
01d99f07aa
1 changed files with 3 additions and 0 deletions
|
|
@ -146,6 +146,9 @@ public class WorkerCRUDController extends GenericForwardComposer implements
|
|||
if (workerModel.getWorker().isVirtual()) {
|
||||
workerModel.setCapacity(getVirtualWorkerCapacity());
|
||||
}
|
||||
if (workerModel.getCalendar() == null) {
|
||||
createCalendar();
|
||||
}
|
||||
workerModel.save();
|
||||
goToList();
|
||||
Util.reloadBindings(listWindow);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue