Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007411 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] Z. Others | major | have not tried | 2009-02-02 14:27 | 2009-03-04 16:38 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | dalsasua | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.40MP3 | |||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 12881 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40MP1 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0013213) svnbot (reporter) 2009-02-06 11:41 |
Repository: openbravo Revision: 12881 Author: davidalsasua Date: 2009-02-06 11:41:12 +0100 (Fri, 06 Feb 2009) Fixes Bug 0007411: Invalid substr index (=0) in SQL query. --- U branches/r2.40/src/org/openbravo/erpCommon/ad_actionButton/CreateFile_data.xsql U branches/r2.40/src-db/database/model/functions/C_COMMISSION_PROCESS.xml --- https://dev.openbravo.com/websvn/openbravo/?rev=12881&sc=1 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |