IDEMPIERE-2740 Webservice without session causing no changelog / peer review

This commit is contained in:
Carlos Ruiz 2015-07-27 15:38:01 -05:00
parent f419cad4f8
commit f14c24a608
1 changed files with 1 additions and 3 deletions

View File

@ -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;