IDEMPIERE-2740 Webservice without session causing no changelog / peer review
This commit is contained in:
parent
f419cad4f8
commit
f14c24a608
|
@ -17,7 +17,6 @@ import java.sql.SQLException;
|
|||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Properties;
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.adempiere.util.ServerContext;
|
||||
|
@ -283,8 +282,7 @@ public class CompiereService {
|
|||
log.fine("No Session found");
|
||||
session = MSession.get (getCtx(), true);
|
||||
}
|
||||
session.setWebSession(UUID.randomUUID().toString());
|
||||
session.setDescription(session.getDescription() + " WebService" );
|
||||
session.setWebSession("WebService");
|
||||
session.saveEx();
|
||||
|
||||
m_loggedin = true;
|
||||
|
|
Loading…
Reference in New Issue