Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039229Openbravo ERPA. Platformpublic2018-09-05 16:232018-09-21 02:17
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
3.0PR18Q4 
caristu
Core
No
0039229: source path is required to import reference data
When importing reference data and chart of accounts, it is read from source path, this forces deployed instance to have access to sources to make use of this feature.
1. Remove source.path from Openbravo.properties
2. Open Initial Organization Setup process
3. Select the 2 available Reference data modules
4. Click OK
  -> ERROR: Create reference data process failed
Those files should be deployed to make them accessible directly from Tomcat without need of reading sources.
No tags attached.
depends on backport 00392523.0PR18Q3.1 closed alostale source path is required to import reference data 
depends on defect 0039254 closed alostale API change: removed parameter in InitialOrgSetup.createOrganization 
blocks design defect 0034490 acknowledged Triage Platform Base [clustering] Support clustering 
causes defect 0039280 closed alostale can't install reference data in test code 
Issue History
2018-09-05 16:23alostaleNew Issue
2018-09-05 16:23alostaleAssigned To => platform
2018-09-05 16:23alostaleModules => Core
2018-09-05 16:23alostaleTriggers an Emergency Pack => No
2018-09-05 16:23alostaleRelationship addedblocks 0034490
2018-09-05 16:23alostaleStatusnew => acknowledged
2018-09-06 11:20alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17609#r17609
2018-09-10 12:49alostaleNote Added: 0106658
2018-09-10 12:50alostaleReview Assigned To => caristu
2018-09-10 12:50alostaleAssigned Toplatform => alostale
2018-09-10 12:50alostaleStatusacknowledged => scheduled
2018-09-10 13:46alostaleRelationship addeddepends on 0039254
2018-09-10 14:23hgbotCheckin
2018-09-10 14:23hgbotNote Added: 0106667
2018-09-10 14:23hgbotStatusscheduled => resolved
2018-09-10 14:23hgbotResolutionopen => fixed
2018-09-10 14:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^]
2018-09-10 14:23hgbotCheckin
2018-09-10 14:23hgbotNote Added: 0106668
2018-09-10 14:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^] => http://code.openbravo.com/erp/devel/pi/rev/038384250ba912f58a9c3c025340aad22e88a6bc [^]
2018-09-10 14:23hgbotCheckin
2018-09-10 14:23hgbotNote Added: 0106669
2018-09-10 14:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/038384250ba912f58a9c3c025340aad22e88a6bc [^] => http://code.openbravo.com/erp/devel/pi/rev/701d003b887b57edee304d64954f3bb84cfd76b7 [^]
2018-09-10 14:23hgbotCheckin
2018-09-10 14:23hgbotNote Added: 0106670
2018-09-10 14:23hgbotCheckin
2018-09-10 14:23hgbotNote Added: 0106671
2018-09-10 14:40alostaleNote Edited: 0106658bug_revision_view_page.php?bugnote_id=0106658#r17613
2018-09-12 21:33hudsonbotCheckin
2018-09-12 21:33hudsonbotNote Added: 0106728
2018-09-12 21:33hudsonbotCheckin
2018-09-12 21:33hudsonbotNote Added: 0106729
2018-09-12 21:33hudsonbotCheckin
2018-09-12 21:33hudsonbotNote Added: 0106730
2018-09-12 21:33hudsonbotCheckin
2018-09-12 21:33hudsonbotNote Added: 0106731
2018-09-12 21:33hudsonbotCheckin
2018-09-12 21:33hudsonbotNote Added: 0106732
2018-09-13 10:54alostaleRelationship addedcauses 0039280
2018-09-20 14:55hgbotCheckin
2018-09-20 14:55hgbotNote Added: 0106890
2018-09-20 17:45hgbotCheckin
2018-09-20 17:45hgbotNote Added: 0106898
2018-09-20 17:47caristuNote Added: 0106900
2018-09-20 17:47caristuStatusresolved => closed
2018-09-20 17:47caristuFixed in Version => 3.0PR18Q4
2018-09-20 17:47caristuNote Edited: 0106900bug_revision_view_page.php?bugnote_id=0106900#r17649
2018-09-21 02:17hudsonbotCheckin
2018-09-21 02:17hudsonbotNote Added: 0106912
2018-09-21 02:17hudsonbotCheckin
2018-09-21 02:17hudsonbotNote Added: 0106913

Notes
(0106658)
alostale   
2018-09-10 12:49   
(edited on: 2018-09-10 14:40)
Tested:
* with all different deploy modes: none, class and war
* linux and windows
* install.source + smartbuild

(0106667)
hgbot   
2018-09-10 14:23   
Repository: erp/devel/pi
Changeset: 692305cb1996257b11e256efbb93ff2c529e0fe9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 07 09:51:56 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/692305cb1996257b11e256efbb93ff2c529e0fe9 [^]

fixed issue 39229: source path is required to import reference data

  Reference data is now deployed to WebContent which can be accessed from Tomcat
  as a resource.

---
M src/build.xml
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0106668)
hgbot   
2018-09-10 14:23   
Repository: erp/devel/pi
Changeset: 038384250ba912f58a9c3c025340aad22e88a6bc
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 07 11:37:29 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/038384250ba912f58a9c3c025340aad22e88a6bc [^]

fixed issue 39229: source path is required to import Chart Of Accounts

  Now it is deployed as resource accessible from Tomcat.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/build.xml
M src/org/openbravo/erpCommon/businessUtility/COAUtility.java
M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0106669)
hgbot   
2018-09-10 14:23   
Repository: erp/devel/pi
Changeset: 701d003b887b57edee304d64954f3bb84cfd76b7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 07 11:46:19 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/701d003b887b57edee304d64954f3bb84cfd76b7 [^]

fixed issue 39229: do not make publicly available reference data files

  Reference data and COA files should be internally accessible from Tomcat, but
  they shouldn't be publicly available to be downloaded.

  Moved them to the non public WEB-INF directory.

---
M src/build.xml
M src/org/openbravo/erpCommon/businessUtility/COAUtility.java
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0106670)
hgbot   
2018-09-10 14:23   
Repository: erp/devel/pi
Changeset: 9a51de54cd962233b909fc0e8c1a774ed2f6ce07
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 07 11:51:03 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9a51de54cd962233b909fc0e8c1a774ed2f6ce07 [^]

related to issue 39229: removed unneded source.path params

---
M src-test/src/org/openbravo/test/db/model/functions/ADOrgTreeTest.java
M src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoUtility.java
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0106671)
hgbot   
2018-09-10 14:23   
Repository: erp/devel/pi
Changeset: 3e0f540c5540c2bb8111f7bb8ba46341776a7954
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Sep 10 12:40:04 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3e0f540c5540c2bb8111f7bb8ba46341776a7954 [^]

related to issue 39229: make it work in Windows

  Using file.separator in Windows was interpreted as regexp escape character.

  Using common slash works fine also in Windows.

---
M src/build.xml
---
(0106728)
hudsonbot   
2018-09-12 21:33   
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/ad75d3cb1744 [^]
Maturity status: Test
(0106729)
hudsonbot   
2018-09-12 21:33   
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/ad75d3cb1744 [^]
Maturity status: Test
(0106730)
hudsonbot   
2018-09-12 21:33   
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/ad75d3cb1744 [^]
Maturity status: Test
(0106731)
hudsonbot   
2018-09-12 21:33   
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/ad75d3cb1744 [^]
Maturity status: Test
(0106732)
hudsonbot   
2018-09-12 21:33   
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/ad75d3cb1744 [^]
Maturity status: Test
(0106890)
hgbot   
2018-09-20 14:55   
Repository: erp/devel/pi
Changeset: 484a4cb67c8c33563203e391067e0122bd2aeb1b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Sep 20 14:52:14 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/484a4cb67c8c33563203e391067e0122bd2aeb1b [^]

related to issue 39229: don't use source path for updating ref data

---
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
M src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData_data.xsql
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0106898)
hgbot   
2018-09-20 17:45   
Repository: erp/devel/pi
Changeset: 5e148ccda17372a140f31c3e94e7fe1685d8f23a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Sep 20 17:45:30 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e148ccda17372a140f31c3e94e7fe1685d8f23a [^]

related to issue 39229: update copyright year

---
M src/org/openbravo/erpCommon/businessUtility/COAUtility.java
---
(0106900)
caristu   
2018-09-20 17:47   
Code reviewed + tested OK. Applied reference data with:

- Initial Org Setup
- Initial Client Setup
- Enterprise Module Management (UpdateReferenceData)

(0106912)
hudsonbot   
2018-09-21 02:17   
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/ca4fbc83aa05 [^]
Maturity status: Test
(0106913)
hudsonbot   
2018-09-21 02:17   
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/ca4fbc83aa05 [^]
Maturity status: Test