Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015331Openbravo ERPA. Platformpublic2010-11-30 15:342012-02-10 07:37
alostale 
mtaal 
urgentminoralways
closedout of date 
5
pi 
 
Core
No
0015331: Some DAL connection do not have AD_Context_Info
All DAL connections are not properly initialized with AD_Context_Info table.
-Set a table to be fully audited
-Set SessionInfo manually and execute SessionInfo.setDBSessionInfo(OBDal.getInstance().getConnection());

It fails saying ad_context_info table is not present, it seems it is taking a connection that wasn't initialized creating this table.
No tags attached.
Issue History
2010-11-30 15:34alostaleNew Issue
2010-11-30 15:34alostaleAssigned To => mtaal
2010-11-30 15:34alostaleModules => Core
2010-12-06 07:46alostaleStatusnew => scheduled
2010-12-13 08:53hgbotCheckin
2010-12-13 08:53hgbotNote Added: 0033115
2010-12-16 09:39hgbotCheckin
2010-12-16 09:39hgbotNote Added: 0033220
2010-12-30 13:13hudsonbotCheckin
2010-12-30 13:13hudsonbotNote Added: 0033434
2010-12-30 13:14hudsonbotCheckin
2010-12-30 13:14hudsonbotNote Added: 0033449
2011-02-18 16:35shuehnerIssue Monitored: shuehner
2011-09-07 13:46mtaalNote Added: 0040801
2011-09-07 13:46mtaalStatusscheduled => feedback
2011-10-07 11:16dmitry_mezentsevNote Added: 0041547
2012-02-10 07:37alostaleStatusfeedback => closed
2012-02-10 07:37alostaleResolutionopen => out of date

Notes
(0033115)
hgbot   
2010-12-13 08:53   
Repository: erp/devel/pi
Changeset: 3b9922cebaef56d66a82359d5a7cb34616638a5f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Nov 30 15:39:41 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3b9922cebaef56d66a82359d5a7cb34616638a5f [^]

realated to issue 15331: Some DAL connection do not have AD_Context_Info

  Workaround for this issue: when setting the session information for DAL,
  force creation of temporary table if the connection doesn't already have
  it.

---
M src-core/src/org/openbravo/database/SessionInfo.java
---
(0033220)
hgbot   
2010-12-16 09:39   
Repository: erp/devel/pi
Changeset: 04f373539a34e6a7ea9029a34c22dff6bd8a41b5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Nov 30 17:32:52 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/04f373539a34e6a7ea9029a34c22dff6bd8a41b5 [^]

Set session info for audit trail. Related to issue 15331

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
(0033434)
hudsonbot   
2010-12-30 13:13   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3b9922cebaef [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]
(0033449)
hudsonbot   
2010-12-30 13:14   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/04f373539a34 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]
(0040801)
mtaal   
2011-09-07 13:46   
Hi Asier,
Can this one be closed?

gr. Martin
(0041547)
dmitry_mezentsev   
2011-10-07 11:16   
Asier,

Could you please verify this issue?


Thanks.