-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.6
-
Component/s: Notifications
-
Tags:
-
Backlog priority:800
-
Sprint:nxcore 10.1.2
-
Story Points:2
Currently EmailHelper#newSession calls Session.getDefaultInstance which always return the same object after the initial instanciation
Session.getDefaultInstance
public static synchronized Session getDefaultInstance(Properties props, Authenticator authenticator) { if (defaultSession == null) defaultSession = new Session(props, authenticator); ...
Not sure if Session#getDefaultInstance should be used and prefered to a direct call to new Session(props, authenticator)
This change was introduced by NXP-9322 in Nuxeo 5.6