Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0007411 | Openbravo ERP | Z. Others | public | 2009-02-02 14:27 | 2009-03-04 16:38 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | dalsasua | |||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | 2.40MP1 | |||||||||||
| Target Version | Fixed in Version | 2.40MP3 | ||||||||||
| 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 | 0007411: Invalid substr index (=0) in SQL query. | |||||||||||
| Description | We have several occurences of substr(<some string>,0,<length>) in the codebase. The first parameter is 1-based per SQL spec and a value of 0 does not work as expected on postgres. List of affected files on both 2.40 and trunk: - src-db/database/model/functions/C_COMMISSION_PROCESS.xml (2 times) - src/org/openbravo/erpCommon/ad_actionButton/CreateFile_data.xsql - src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup_data.xsql (trunk only) More Files covered by different issues: - src/org/openbravo/erpCommon/ad_forms/FileImport_data.xsql (7130, function is unused) - src/org/openbravo/erpCommon/ad_forms/InitialClientSetup_data.xsql (7129, already resolved) | |||||||||||
| Steps To Reproduce | ||||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2009-02-06 11:36 | dalsasua | Type | defect => backport | |||||||||
| 2009-02-06 11:36 | dalsasua | fix_in_branch | => 2.40 | |||||||||
| 2009-02-06 11:41 | svnbot | Checkin | ||||||||||
| 2009-02-06 11:41 | svnbot | Note Added: 0013213 | ||||||||||
| 2009-02-06 11:41 | svnbot | Status | scheduled => resolved | |||||||||
| 2009-02-06 11:41 | svnbot | Resolution | open => fixed | |||||||||
| 2009-02-06 11:41 | svnbot | svn_revision | 12880 => 12881 | |||||||||
| 2009-03-03 17:32 | psarobe | Fixed in Version | => 2.40MP3 | |||||||||
| 2009-03-04 16:38 | psarobe | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||