Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011577Openbravo ERPA. Platformpublic2009-12-01 16:052009-12-11 00:00
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
pi 
 
Core
No
0011577: Add error message to SqlC if a replace parameter is used in an xsql file and the search part of the replace cannot be found.
In xsql-files a parameter of type 'replace' can be used to search for a part in the sql-statement and then replace it by another value (at runtime).

If Sqlc cannot find the search part it should raise an error as then this parameter will never be used at runtime.
Sqlc should report an error in this case to make this problem visible at compile time.
No tags attached.
related to defect 0011578 closed shuehner BusinessPartner_data.xsql (of the Bpartner selector) has not working optional parameter 
Issue History
2009-12-01 16:05shuehnerNew Issue
2009-12-01 16:05shuehnerAssigned To => shuehner
2009-12-01 16:27shuehnerRelationship addedrelated to 0011578
2009-12-01 16:29shuehnerSteps to Reproduce Updated
2009-12-01 16:44hgbotCheckin
2009-12-01 16:44hgbotNote Added: 0022318
2009-12-01 16:44hgbotStatusnew => resolved
2009-12-01 16:44hgbotResolutionopen => fixed
2009-12-01 16:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2af627ebcc6d04649e0eabfa7d64bce227bb438d [^]
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022431
2009-12-10 18:23marvintmStatusresolved => closed
2009-12-11 00:00anonymoussf_bug_id0 => 2912320

Notes
(0022318)
hgbot   
2009-12-01 16:44   
Repository: erp/devel/pi
Changeset: 2af627ebcc6d04649e0eabfa7d64bce227bb438d
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Dec 01 16:40:48 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2af627ebcc6d04649e0eabfa7d64bce227bb438d [^]

Fixed 11577: Add new error to Sqlc if the search part of a replace parameter...
cannot be found in the sql

---
M src-core/src/org/openbravo/data/Sqlc.java
---
(0022431)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---