Skip to content

Commit 059df9d

Browse files
Fix for Approving/Rejecting Translation job that was never submitted to the TMS
1 parent 9683966 commit 059df9d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bundle/src/main/java/com/adobe/granite/translation/connector/bootstrap/core/impl/BootstrapTranslationServiceImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ public TranslationStatus updateTranslationJobState(String strTranslationJobID, T
250250
throws TranslationException {
251251
if(strTranslationJobID=="dummy"){
252252
log.debug("Dummy Translation job detected");
253+
} else if(strTranslationJobID == null) {
254+
log.debug("Job was never sent to TMS. Updated using Export/Import");
253255
} else {
254256
bootstrapTmsService.setTmsProperty(strTranslationJobID, BootstrapTmsConstants.BOOTSTRAP_TMS_STATUS, state.getStatus().toString());
255257
log.warn("JOB ID is {}",strTranslationJobID);

0 commit comments

Comments
 (0)