Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0015056 | Openbravo ERP | A. Platform | public | 2010-10-27 19:34 | 2010-12-09 16:07 | |||||||
Reporter | networkb | |||||||||||
Assigned To | mtaal | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | 2.50MP24 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0015056: OBQuery: whereclause with alias with a comma direct after the alias fails | |||||||||||
Description | This usage of OBQuery: OBQuery<SyncPointReg> datosTablaOBEliminados = OBDal.getInstance().createQuery(SyncPointReg.class, whereClause.toString()); //My whereClause is: whereClause.append(" AS reg, AD_Audit_Trail_Raw AS au where reg.id = au.recordID "); whereClause.append(" and au.table.id = '291'"); whereClause.append(" and reg.active=true and action='D' and reg.pointSinc.id='546529A797B545B8BB14C8317795213A'"); whereClause.append(" and au.oldChar=au.client.id ORDER BY au.creationDate"); Results in this error: select reg, from wss_syncpointreg AS reg, AD_Audit_Trail_Raw AS au where ( reg.identificadorOpenbravo = au.recordID and au.table.id = '291' and reg.active=true and action='D' and reg.pointSinc.id='546529A797B545B8BB14C8317795213A' and au.oldChar=au.client.id ) and reg,.organization.id in ('0', '105DE888FFEB49E18C828E8C45945203') and reg,.client.id in ('AAE2DE59A6654E1097733152573FE150', '0') and reg,.active='Y' ORDER BY au.creationDate Note, the comma which is added just after the alias in the select clause. See this forum post: http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549512&topicid=7019996 [^] | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2010-10-27 19:34 | networkb | New Issue | ||||||||||
2010-10-27 19:34 | networkb | Assigned To | => mtaal | |||||||||
2010-10-27 19:34 | networkb | OBNetwork customer | => Yes | |||||||||
2010-10-27 19:34 | networkb | Issue generated from | 0015050 | |||||||||
2010-10-27 19:36 | networkb | Relationship added | duplicate of 0015050 | |||||||||
2010-10-27 21:23 | hgbot | Checkin | ||||||||||
2010-10-27 21:23 | hgbot | Note Added: 0032278 | ||||||||||
2010-10-27 21:23 | hgbot | Status | new => resolved | |||||||||
2010-10-27 21:23 | hgbot | Resolution | open => fixed | |||||||||
2010-10-27 21:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4386178275271efff07e1917ce1a2cb37167e242 [^] | |||||||||
2010-11-05 12:44 | hudsonbot | Checkin | ||||||||||
2010-11-05 12:44 | hudsonbot | Note Added: 0032434 | ||||||||||
2010-11-18 11:05 | marvintm | Note Added: 0032695 | ||||||||||
2010-11-18 11:05 | marvintm | Status | resolved => closed | |||||||||
2010-12-09 16:07 | anonymous | sf_bug_id | 0 => 3133532 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|