Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030244 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2015-06-09 13:11 | 2015-06-25 18:47 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q2.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5932cc502f4d | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2.3 | |||
OS | Windows | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030244: On windows the 'ant setup' tool writes incorrect source.path to Openbravo.properties (not using \\ for a \) | |||||||
Description | Using 'ant setup' the tool writes source.path automatically but does not follow proper encoding of java properties files which required \\ to be used when a \ character is wanted as is Effect of this is that any code using source.path (i.e. MMC, obx module installation and/or updates does not work) Workaround is to manually edit source.path to have \\ for each \ which is wanted. Note: Same applies to any path in properties (i.e. also attach.path) | |||||||
Steps To Reproduce | In Windows OS: .as system administrator, go to module management window . select a obx file to install module . error is returned: Error: Error org.openbravo.service.web.ResourceNotFoundException: Source file [C:openbravoerpopenbravo\src-db\database\model\tables\AD_MODULE.xml] can not be found. Verify 'source.path' property is properly set in Openbravo.properties file. | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0078514) hgbot (developer) 2015-06-25 16:18 |
Repository: erp/backports/3.0PR15Q2.3 Changeset: 5932cc502f4d2b871ffa4baf55f0fd6aa6b250fe Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Jun 25 16:13:13 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/5932cc502f4d2b871ffa4baf55f0fd6aa6b250fe [^] Fixes issue 30244: On windows the ant setup tool writes incorrect source.path The ant setup tool was writing an incorrect source.path because the user.dir property obtained under Windows contains backslashes as file separator in the path. Now this case is controlled, and in case we are under a Windows operative system, the backslashes are replaced with a slash. The slash can be safely used in all platforms because Java internally can handle it and do the translation into platform-specific paths. --- M src/org/openbravo/configuration/ConfigurationApp.java --- |
(0078521) AugustoMauch (administrator) 2015-06-25 18:47 |
Code reviewed and verified in [1]@5932cc502f4d [1] https://code.openbravo.com/erp/backports/3.0PR15Q2.3 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2015-06-25 11:21 | caristu | Type | defect => backport |
2015-06-25 11:21 | caristu | Target Version | => 3.0PR15Q2.3 |
2015-06-25 15:53 | dmitry_mezentsev | Tag Attached: Approved | |
2015-06-25 16:17 | caristu | Issue Monitored: AugustoMauch | |
2015-06-25 16:17 | caristu | Review Assigned To | => AugustoMauch |
2015-06-25 16:17 | caristu | Web browser | Google Chrome => Google Chrome |
2015-06-25 16:18 | hgbot | Checkin | |
2015-06-25 16:18 | hgbot | Note Added: 0078514 | |
2015-06-25 16:18 | hgbot | Status | scheduled => resolved |
2015-06-25 16:18 | hgbot | Resolution | open => fixed |
2015-06-25 16:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/5932cc502f4d2b871ffa4baf55f0fd6aa6b250fe [^] |
2015-06-25 18:47 | AugustoMauch | Note Added: 0078521 | |
2015-06-25 18:47 | AugustoMauch | Status | resolved => closed |
2015-06-25 18:47 | AugustoMauch | Fixed in Version | => 3.0PR15Q2.3 |
Copyright © 2000 - 2009 MantisBT Group |