Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0019253 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2011-12-06 17:13 | 2012-03-02 15:36 | |||
| Reporter | roklenardic | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | c583896380b2 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | Apple Safari | |||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0019253: filtering numbers using a range fails when there are spaces | |||||||
| Description | 1) go to live.builds.openbravo.com 2) Login 3) go to Sales Order screen 4) type in this into the Total Gross Amount column's filter: " < 100.00" (without the quotes and with the leading space) 5) unfriendly error appears:Error Exception when creating query select e from Order as e where ( (( e.grandTotalAmount = null )) and ( ((e.salesTransaction=true AND e.transactionDocument.return= false) and ( ( e.updated > :alias_1 or e.processed = 'N' ) )) ) ) and e.organization.id in ('0', '4F68EB1C1B734E79B27DE9D2DF56089F', '0D8E225ADA6E425E98EAA0F34E5912D7', 'B9C7088AB859483A9B1FB342AC2BE17A', '90A1F59849E84AFABD04814B3D15A691', '378AF0EAE1A2479EAAA33436645E9433', '3C816D72B14D4BBCB8571404B794AB84', '7A8E888A4B4C4E638CD5EB3A41A3289A') and e.client.id in ('FF8080812AFBCB14012AFBD3E373001F', '0')order by e.documentNo,e.id | |||||||
| Steps To Reproduce | see above | |||||||
| Proposed Solution | trim the filter conditions for leading and trailing spaces | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0045021) hgbot (developer) 2012-02-10 17:54 |
Repository: erp/devel/pi Changeset: c583896380b2cc3b2211ebd47332b7c1895bb2af Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Feb 10 17:53:36 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c583896380b2cc3b2211ebd47332b7c1895bb2af [^] fixed bug 19253: filtering numbers using a range fails when there are spaces --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js --- |
|
(0045022) alostale (viewer) 2012-02-10 17:54 |
Fix trims complete expression and numeric values. No regression risk as it is affecting only filter in numeric fields. |
|
(0045807) hudsonbot (viewer) 2012-03-02 15:36 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-12-06 17:13 | roklenardic | New Issue | |
| 2011-12-06 17:13 | roklenardic | Assigned To | => alostale |
| 2011-12-06 17:13 | roklenardic | Web browser | => Apple Safari |
| 2011-12-06 17:13 | roklenardic | Modules | => Core |
| 2011-12-06 17:13 | roklenardic | OBNetwork customer | => No |
| 2012-02-07 08:41 | alostale | Relationship added | related to 0019621 |
| 2012-02-10 17:54 | hgbot | Checkin | |
| 2012-02-10 17:54 | hgbot | Note Added: 0045021 | |
| 2012-02-10 17:54 | hgbot | Status | new => resolved |
| 2012-02-10 17:54 | hgbot | Resolution | open => fixed |
| 2012-02-10 17:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c583896380b2cc3b2211ebd47332b7c1895bb2af [^] |
| 2012-02-10 17:54 | alostale | Note Added: 0045022 | |
| 2012-02-27 15:28 | marvintm | Status | resolved => closed |
| 2012-03-02 15:36 | hudsonbot | Checkin | |
| 2012-03-02 15:36 | hudsonbot | Note Added: 0045807 | |
| Copyright © 2000 - 2009 MantisBT Group |