Skip to content

Commit

Permalink
[ES-558] Fixed 'EmptyResultDataAccessException' issue (mosip#1280)
Browse files Browse the repository at this point in the history
* update code to publish event

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* added property

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* added property

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* fix github build failure

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* registered topic

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* fixed application failed to start issue

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

* fixed EmptyResultDataAccessException issue

Signed-off-by: Ritik Jain (IN74108) <[email protected]>

---------

Signed-off-by: Ritik Jain (IN74108) <[email protected]>
Co-authored-by: Ritik Jain (IN74108) <[email protected]>
Co-authored-by: 61074108 <61074108@5CD12778H4>
  • Loading branch information
3 people authored and dhanendra06 committed Aug 22, 2024
1 parent 7bcc4dd commit 6d333a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private void handleRemoveId(EventModel eventModel) throws IdAuthenticationBusine
Event event = eventModel.getEvent();
Map<String, Object> additionalData = event.getData();
String idHash = (String) additionalData.get(ID_HASH);
if (idHash != null && !idHash.isEmpty()) {
if (idHash != null && !idHash.isEmpty() && identityCacheRepo.existsById(idHash)) {
identityCacheRepo.deleteById(idHash);
removeIdStatusEventPublisher.publishRemoveIdStatusEvent(idHash);
}
Expand Down

0 comments on commit 6d333a4

Please sign in to comment.