Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0039297 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] A. Platform | minor | have not tried | 2018-09-13 10:54 | 2018-09-18 13:25 | |||
| Reporter | alostale | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 94ce09b11885 | ||||
| Projection | none | ETA | none | Target Version | 3.0PR18Q3.1 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | vmromanos | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | Automated tests | |||||||
| Regression date | 2018-09-07 | |||||||
| Regression introduced in release | pi | |||||||
| Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^] | |||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0039297: can't install reference data in test code | |||||||
| Description | 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. | |||||||
| Steps To Reproduce | 1. Install org.openbravo.distributionorder 2. Run module tests -> ERROR: they fail, see https://ci.openbravo.com/job/mod-simple/28489/ [^]  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
||||||||
  | 
||||||||
  		Notes	 | 
|
| 
				(0106797) hgbot (developer) 2018-09-17 10:08  | 
	
		Repository: erp/backports/3.0PR18Q3.1 Changeset: 94ce09b1188560d1426b00f7083213aff54a3722 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Sep 17 10:07:49 2018 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR18Q3.1/rev/94ce09b1188560d1426b00f7083213aff54a3722 [^] Fixes issue 39297: 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 ---  | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2018-09-17 10:04 | AugustoMauch | Type | defect => backport | 
| 2018-09-17 10:04 | AugustoMauch | Target Version | => 3.0PR18Q3.1 | 
| 2018-09-17 10:08 | hgbot | Checkin | |
| 2018-09-17 10:08 | hgbot | Note Added: 0106797 | |
| 2018-09-17 10:08 | hgbot | Status | scheduled => resolved | 
| 2018-09-17 10:08 | hgbot | Resolution | open => fixed | 
| 2018-09-17 10:08 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/63a01ac3db462695ee3260e4e2eed0d8886cb785 [^] => http://code.openbravo.com/erp/backports/3.0PR18Q3.1/rev/94ce09b1188560d1426b00f7083213aff54a3722 [^] | 
| 2018-09-18 13:25 | vmromanos | Status | resolved => closed | 
| Copyright © 2000 - 2009 MantisBT Group |