mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5726: Using runtime discovered dao (in AsyncJobManagerImpl.submitAsyncJob) to persist record has a problem to locate the right DAO instance, it causes corrupted field value be stored in database. Put in a work-around fix first to always initialize record fields in all cases
This commit is contained in:
parent
88aefbf529
commit
1dc784ecdb
|
|
@ -241,6 +241,8 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
|||
|
||||
if (resultObject != null) {
|
||||
job.setResult(resultObject);
|
||||
} else {
|
||||
job.setResult(null);
|
||||
}
|
||||
|
||||
job.setLastUpdated(DateUtil.currentGMTTime());
|
||||
|
|
|
|||
Loading…
Reference in New Issue