Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015015 | Openbravo ERP | A. Platform | public | 2010-10-25 13:30 | 2010-10-30 11:24 |
Reporter | shuehner | ||||
Assigned To | gorkaion | ||||
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0015015: New ad_session_usage_audit fails sometimes on Logout | ||||
Description | on using the Logout button at least once this error happened a3196480 1078530 [http-8080-7] ERROR org.openbravo.base.VariablesBase - setSessionValue error: #CurrentAccessLevel:...7 a3196480 1078555 [http-8080-7] WARN org.openbravo.dal.core.OBInterceptor - The object ADSessionUsageAudit(FF8080812BE30F1D012BE31F8FEC0078) (module: 0, javaClassName: org.openbravo.erpCommon.security.Logout) is detected as not new (is its id != null?) but it does not have a current state in the database. This can happen when the id is set but not setNewObject(true); has been called. a3196480 1078555 [http-8080-7] ERROR org.openbravo.erpCommon.security.Logout - Error captured: org.hibernate.PropertyValueException: not-null property references a null or transient value: ADSessionUsageAudit.session at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:270) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:128) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.openbravo.dal.service.OBDal.flush(OBDal.java:131) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:410) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) So at least in some case ad_session_id might be missing at that flow. | ||||
Steps To Reproduce | |||||
Proposed Solution | skip insert if #AD_Session_ID is not set | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-10-25 13:30 | shuehner | New Issue | |||
2010-10-25 13:30 | shuehner | Assigned To | => gorkaion | ||
2010-10-25 13:30 | shuehner | OBNetwork customer | => No | ||
2010-10-25 13:47 | hgbot | Checkin | |||
2010-10-25 13:47 | hgbot | Note Added: 0032179 | |||
2010-10-25 13:47 | hgbot | Status | new => resolved | ||
2010-10-25 13:47 | hgbot | Resolution | open => fixed | ||
2010-10-25 13:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/05b8e6fe855dda1f188c44f27b5b56acc902f209 [^] | ||
2010-10-26 10:24 | hudsonbot | Checkin | |||
2010-10-26 10:24 | hudsonbot | Note Added: 0032208 | |||
2010-10-28 12:06 | shuehner | Note Added: 0032292 | |||
2010-10-28 12:06 | shuehner | Status | resolved => closed | ||
2010-10-30 11:24 | anonymous | sf_bug_id | 0 => 3098755 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|