Skip to content

Commit

Permalink
Fixed handling of groups inherited from ACE
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Sep 6, 2023
1 parent f59722c commit b39aa04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public Response printAvvisoPagopa(@Context HttpServletRequest req, @Context Http
applicationService.creaPendenzaPagopa(cmisService.getCurrentCMISSession(req),
applicationId, Utility.getContextURL(req), I18nService.getLocale(req, __lang));
return Response.status(Status.OK).build();
} catch (CmisRuntimeException|InterruptedException e) {
} catch (CmisRuntimeException|InterruptedException|ClientMessageException e) {
return Response.status(Status.INTERNAL_SERVER_ERROR).entity(Collections.singletonMap("message", e.getMessage())).build();
} catch (FeignException _ex) {
return Response.status(Status.INTERNAL_SERVER_ERROR).entity(Collections.singletonMap("message",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2192,11 +2192,7 @@ private Long getNumeroProtocolloPagopa(String anno, String registro, int iterazi
return aLong + 1;
}).orElse(new Long(1001));
} catch (Exception e) {
if (iterazioni < 10) {
TimeUnit.SECONDS.sleep(5);
return getNumeroProtocolloPagopa(anno, registro, iterazioni++);
}
throw new ClientMessageException("Non è stato possibile recuperare il numero di protocollo per generare l'avviso di pagamento pagoPA!");
throw new ClientMessageException("Non è stato possibile recuperare il numero di protocollo per generare l'avviso di pagamento pagoPA, riprovare in un secondo momento.");
}
}

Expand Down

0 comments on commit b39aa04

Please sign in to comment.