Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028398 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | minor | always | 2014-12-12 11:18 | 2014-12-30 23:27 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3b18b7807c27 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
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 | 0028398: OBBaseTest class should initialize Dal layer in a BeforeClass method | |||||||
Description | In order to be able to use DAL in a BeforeClass method of any JUnit test, OBBaseTest superclass should initialize Dal layer in a BeforeClass method instead of in a Before method. | |||||||
Steps To Reproduce | N/A | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0072492) hgbot (developer) 2014-12-15 10:01 |
Repository: erp/devel/pi Changeset: 3b18b7807c27c4891835be34674d7c13d464d9c2 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Fri Dec 12 13:15:47 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/3b18b7807c27c4891835be34674d7c13d464d9c2 [^] Fixes issue 28398 OBBaseTest should initialize DalLayer in a BeforeClass method In order to be able to use DAL in a BeforeClass method of any JUnit test, OBBaseTest superclass should initialize Dal layer in a BeforeClass method instead of in a Before method. --- M src-test/src/org/openbravo/test/base/OBBaseTest.java --- |
(0072596) hgbot (developer) 2014-12-17 09:35 |
Repository: erp/devel/pi Changeset: 014c31adf94a945d4acbb5cdc951f426948b7273 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Wed Dec 17 09:34:28 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/014c31adf94a945d4acbb5cdc951f426948b7273 [^] Related to issue 28398 OBBaseTest should initialize Dal in a BeforeClass method Added a static method to initialize DAL layer from BeforeClass method --- M src-test/src/org/openbravo/test/base/OBBaseTest.java --- |
(0072793) alostale (viewer) 2014-12-23 10:23 |
code reviewed |
(0073215) hudsonbot (viewer) 2014-12-30 23:27 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^] Maturity status: Test |
(0073228) hudsonbot (viewer) 2014-12-30 23:27 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-12 11:18 | aferraz | New Issue | |
2014-12-12 11:18 | aferraz | Assigned To | => aferraz |
2014-12-12 11:18 | aferraz | OBNetwork customer | => No |
2014-12-12 11:18 | aferraz | Modules | => Core |
2014-12-12 11:18 | aferraz | Triggers an Emergency Pack | => No |
2014-12-15 10:01 | hgbot | Checkin | |
2014-12-15 10:01 | hgbot | Note Added: 0072492 | |
2014-12-15 10:01 | hgbot | Status | new => resolved |
2014-12-15 10:01 | hgbot | Resolution | open => fixed |
2014-12-15 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3b18b7807c27c4891835be34674d7c13d464d9c2 [^] |
2014-12-15 10:29 | aferraz | Assigned To | aferraz => alostale |
2014-12-17 08:46 | alostale | Assigned To | alostale => aferraz |
2014-12-17 08:47 | alostale | Review Assigned To | => alostale |
2014-12-17 09:35 | hgbot | Checkin | |
2014-12-17 09:35 | hgbot | Note Added: 0072596 | |
2014-12-23 10:23 | alostale | Note Added: 0072793 | |
2014-12-23 10:23 | alostale | Status | resolved => closed |
2014-12-23 10:23 | alostale | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073215 | |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073228 |
Copyright © 2000 - 2009 MantisBT Group |