Project

General

Profile

Task #509

Updated by Radek Tomiška about 7 years ago

In our project (running 7.3.0-rc2) we have declared an email topic with INFO level (NotificationLevel.INFO). 
 When we try to send a message into this topic without specifying a notification level, everything works just fine. 
 But setting a new notification level somehow result in silent failure. There is no error in the log, no message on FE, nothing. 

 Example of working notification send: 
 <pre><code class="java"> 
     notificationManager.send( 
             "mytopic", 
             new IdmMessageDto.Builder() 
                     .addParameter("param1", orgType) 
                     .addParameter("entity", orgEntity) 
                     .build(), 
             recipients 
     ) 
 </code></pre> 

 Example of failing code: 
 <pre><code class="java"> 
     notificationManager.send( 
              "mytopic", 
             new IdmMessageDto.Builder() 
                     .setLevel(NotificationLevel.SUCCESS) 
                     .addParameter("param1", orgType) 
                     .addParameter("entity", orgEntity) 
                     .build(), 
             recipients 
     ) 
 </code></pre> 

 If such feature is not supported (though I don't see a reason why), please at least handle the error appropriately. 

 If notification are sent from FE test page, then console sender is used all time.

Back