Fixed the Null Pointer Exception on mdm-submit operation (#4751)

* Fixed the Null Pointer Exception on mdm-submit operation

* Addressing suggestion
This commit is contained in:
Qingyixia 2023-04-19 15:24:39 -04:00 committed by GitHub
parent 6eafd3fe5d
commit 55613a9bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
type: fix
issue: 4750
jira: SMILE-6152
title: "Previously, an mdm-submit operation with Prefer: response-async header resulted in a NullPointerException in the error logs
and a batch job status of FAILED. This has been fixed."

View File

@ -53,6 +53,7 @@ public class MdmInflateAndSubmitResourcesStep implements IJobStepWorker<MdmSubmi
private ResponseTerminologyTranslationSvc myResponseTerminologyTranslationSvc; private ResponseTerminologyTranslationSvc myResponseTerminologyTranslationSvc;
@Autowired @Autowired
private IMdmChannelSubmitterSvc myMdmChannelSubmitterSvc; private IMdmChannelSubmitterSvc myMdmChannelSubmitterSvc;
@Autowired
private IIdHelperService<? extends IResourcePersistentId> myIdHelperService; private IIdHelperService<? extends IResourcePersistentId> myIdHelperService;
@Nonnull @Nonnull