Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0034022 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] Y. DBSourceManager | minor | always | 2016-09-19 19:21 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | 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 | 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 | 0034022: PostgreSqlBuilder configuration for escaped characters is not correct | ||||||||||
Description | PostgreSqlBuilder configuration for escaped characters is not correct, this causes that queries with special characters (like single quotes) using this class are not being parsed correctly. | ||||||||||
Steps To Reproduce | Apply the attached patch for the DBSMTest project. It contains a test case for this issue. Use a PostgresSQL database to run the test and notice that it fails. | ||||||||||
Proposed Solution | Review the escaped characters in PostgreSqlBuilder[1], check the OracleSqlBuilder which currently works fine. [1] https://code.openbravo.com/erp/devel/dbsm-main/file/8590a0dc4607/src/org/apache/ddlutils/platform/postgresql/PostgreSqlBuilder.java#l70 [^] [2] https://code.openbravo.com/erp/devel/dbsm-main/file/8590a0dc4607/src/org/apache/ddlutils/platform/oracle/Oracle8Builder.java#l84 [^] | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | testIssue34022.diff [^] (2,685 bytes) 2016-09-20 10:26 [Show Content] | ||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2016-09-19 19:21 | caristu | New Issue | |
2016-09-19 19:21 | caristu | Assigned To | => platform |
2016-09-19 19:21 | caristu | Modules | => Core |
2016-09-19 19:21 | caristu | Triggers an Emergency Pack | => No |
2016-09-19 19:24 | caristu | Steps to Reproduce Updated | View Revisions |
2016-09-19 19:24 | caristu | Proposed Solution updated | |
2016-09-19 19:24 | caristu | Relationship added | related to 0033417 |
2016-09-20 10:26 | caristu | Steps to Reproduce Updated | View Revisions |
2016-09-20 10:26 | caristu | File Added: testIssue34022.diff | |
2016-09-20 18:55 | caristu | Summary | PostgreSqlBuilder configuration for scaped characters is not correct => PostgreSqlBuilder configuration for escaped characters is not correct |
2016-09-29 16:21 | caristu | Category | A. Platform => Y. DBSourceManager |
2016-12-01 12:55 | alostale | Status | new => acknowledged |
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |