From 2b46ab6e3f8d702b7a239ce7add1742d970929c8 Mon Sep 17 00:00:00 2001 From: Rishi Kunnath <82925475+rishikunnath2747@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:07:45 +0530 Subject: [PATCH] fix --- .../java/com/sap/cds/sdm/service/DocumentUploadService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdm/src/main/java/com/sap/cds/sdm/service/DocumentUploadService.java b/sdm/src/main/java/com/sap/cds/sdm/service/DocumentUploadService.java index fdd7783a..d09d3e2e 100644 --- a/sdm/src/main/java/com/sap/cds/sdm/service/DocumentUploadService.java +++ b/sdm/src/main/java/com/sap/cds/sdm/service/DocumentUploadService.java @@ -312,8 +312,6 @@ private void formResponse( if (responseCode == 409) { JSONObject jsonResponse = new JSONObject(responseString); String message = jsonResponse.getString("message"); - JSONObject succinctProperties = jsonResponse.getJSONObject("succinctProperties"); - objectId = succinctProperties.getString("cmis:objectId"); if ("Malware Service Exception: Virus found in the file!".equals(message)) { status = "virus"; } else {