Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039280Openbravo ERPA. Platformpublic2018-09-13 10:542018-09-18 13:26
alostale 
alostale 
immediateminorhave not tried
closedfixed 
5
 
3.0PR18Q4 
vmromanos
Core
Automated tests
2018-09-07
pi
http://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^]
No
0039280: can't install reference data in test code
When running tests installing refrencedata, before of 0039229 they got it from source.data, afterwards it's tried to be retrieved from server's resources assuming code is run from a servlet container. Not being this the case for tests, they fail.
1. Install org.openbravo.distributionorder
2. Run module tests
  -> ERROR: they fail, see https://ci.openbravo.com/job/mod-simple/28489/ [^]
No tags attached.
depends on backport 00392973.0PR18Q3.1 closed alostale can't install reference data in test code 
caused by design defect 0039229 closed alostale source path is required to import reference data 
Issue History
2018-09-13 10:54alostaleNew Issue
2018-09-13 10:54alostaleAssigned To => alostale
2018-09-13 10:54alostaleModules => Core
2018-09-13 10:54alostaleRegression level => Automated tests
2018-09-13 10:54alostaleRegression date => 2018-09-07
2018-09-13 10:54alostaleRegression introduced in release => pi
2018-09-13 10:54alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^]
2018-09-13 10:54alostaleTriggers an Emergency Pack => No
2018-09-13 10:54alostaleRelationship addedcaused by 0039229
2018-09-13 10:55alostaleReview Assigned To => vmromanos
2018-09-13 12:16hgbotCheckin
2018-09-13 12:16hgbotNote Added: 0106747
2018-09-13 12:16hgbotStatusnew => resolved
2018-09-13 12:16hgbotResolutionopen => fixed
2018-09-13 12:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/63a01ac3db462695ee3260e4e2eed0d8886cb785 [^]
2018-09-13 16:24hudsonbotCheckin
2018-09-13 16:24hudsonbotNote Added: 0106751
2018-09-17 10:04AugustoMauchStatusresolved => new
2018-09-17 10:04AugustoMauchResolutionfixed => open
2018-09-17 10:04AugustoMauchStatusnew => scheduled
2018-09-17 10:04AugustoMauchStatusscheduled => resolved
2018-09-17 10:04AugustoMauchResolutionopen => fixed
2018-09-18 13:25vmromanosStatusresolved => closed
2018-09-18 13:25vmromanosFixed in Version => 3.0PR19Q1
2018-09-18 13:26vmromanosFixed in Version3.0PR19Q1 => 3.0PR18Q4

Notes
(0106747)
hgbot   
2018-09-13 12:16   
Repository: erp/devel/pi
Changeset: 63a01ac3db462695ee3260e4e2eed0d8886cb785
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Sep 13 12:15:52 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/63a01ac3db462695ee3260e4e2eed0d8886cb785 [^]

fixed issue 39280: can't install reference data in test code

  When inserting reference data not running in a web container, data files
  are read from source.path.

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0106751)
hudsonbot   
2018-09-13 16:24   
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/85df3905e703 [^]
Maturity status: Test