Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022589 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2012-12-16 02:49 | 2013-03-05 18:15 | |||
Reporter | pjuvara | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP17 | SCM revision | ||||||
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 | 0022589: Cannot add SQL based computed column that includes a "less than" character | |||||||
Description | If you add to a table a SQL based computed column that contains the '<' or '>', any subsequent ant export.database command fails | |||||||
Steps To Reproduce | I am trying to define a computed column that calculates the current depreciated value for an asset. Following the instructions on http://wiki.openbravo.com/wiki/How_to_create_a_Computed_Column, [^] I added a column to the A_AMORTIZATIONLINE table with the following SQL (SELECT -SUM(al.amortizationamt) FROM A_AMORTIZATIONLINE AL, a_amortization a WHERE al.a_amortization_id = a.a_amortization_id AND a.acctdate <= NOW() AND al.a_asset_id = A_ASSET_ID) after having created this column, I execute an ant export.database command and it fails as the '<' character is not allowed. | |||||||
Proposed Solution | Any special character in the SQL command column should be escaped. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2012-12-16 02:49 | pjuvara | New Issue | |
2012-12-16 02:49 | pjuvara | Assigned To | => AugustoMauch |
2012-12-16 02:49 | pjuvara | Modules | => Core |
2012-12-16 02:49 | pjuvara | OBNetwork customer | => No |
2012-12-16 02:49 | pjuvara | Triggers an Emergency Pack | => No |
2013-03-05 18:15 | AugustoMauch | Relationship added | duplicate of 0022062 |
2013-03-05 18:15 | AugustoMauch | Status | new => closed |
2013-03-05 18:15 | AugustoMauch | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |