Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0002941 | Openbravo ERP | A. Platform | public | 2008-04-28 18:50 | 2008-06-19 19:33 | |||||||
Reporter | user71 | |||||||||||
Assigned To | cromero | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 2.40alpha-r2 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
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 | 0002941: Oracle specific code fails on Postgresql | |||||||||||
Description | Hi, browse this file: openbravo/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java inside you'll see several refernces to " strError = strError.substring( strError.lastIndexOf("@ORA-") ,strError.length()); " But "@ORA-" is specific Oracle code that'll lead to errors such as out of range exception (-1 passed to lastIndexOf ) if used with Postgresql under certain circumstances. We got the error while importing the Frechn chart of account on postgresql, we add to comment out those lines to make it pass. Anyway, I don't really know what the current code breaks wand what would be the best fix, but what I know is that this code is currently unsafe for Postgresql. Best regards, Raphaël Valyi http://www.smile.fr [^] | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2008-06-19 19:33 | psarobe | Status | resolved => closed | |||||||||
2008-06-19 19:33 | psarobe | Note Added: 0007886 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|