Skip to content
Snippets Groups Projects
Commit db37e2e5 authored by lhameury's avatar lhameury
Browse files

Fix null issue on "notifierPourCorbeilleVirtuelle" function

parent ad9714c9
No related branches found
No related tags found
No related merge requests found
......@@ -1275,7 +1275,10 @@ public class NotificationServiceImpl implements NotificationService {
NodeRef bureau = nodeUtilsService.getFirstParentOfType(corbeille, ParapheurModel.TYPE_PARAPHEUR);
String bureauName = (String) nodeService.getProperty(bureau, ContentModel.PROP_TITLE);
String nomValideur = userUtilsService.getFullname(username);
String dossierTitre = (String) nodeService.getProperty(dossier, ContentModel.PROP_TITLE);
String dossierTitre = "";
if(nodeService.exists(dossier)) {
dossierTitre = (String) nodeService.getProperty(dossier, ContentModel.PROP_TITLE);
}
Notification notification = new Notification(
Notification.Target.current.name(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment