From 4e48a56eb5ed6d8c85ec4748cff55aeeccc2eeb6 Mon Sep 17 00:00:00 2001 From: Loganathan Sekar <42532387+LoganathanSekar7627@users.noreply.github.com> Date: Mon, 13 Mar 2023 20:18:38 +0530 Subject: [PATCH] Revert mosip 26314 fix for read status for auth lock status (#798) * Fix for setting read status to false * Revert "Fix for setting read status to false (#791)" This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3. * Check test fix * Fix NPE in test in github * Test fix * logic fix in test * Test fix --------- Co-authored-by: Loganathan Sekar --- .../io/mosip/resident/service/impl/ResidentVidServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java index 41eb3e1b2ac..3621812d658 100644 --- a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java +++ b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentVidServiceImpl.java @@ -706,6 +706,9 @@ public Tuple2, String> revokeVidV2(BaseVid } responseDto.setResponsetime(DateUtils.formatToISOString(DateUtils.getUTCCurrentDateTime())); + if(eventId == null) { + eventId = ResidentConstants.NOT_AVAILABLE; + } return Tuples.of(responseDto, eventId); }