Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020499 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2012-05-14 18:47 | 2012-08-22 09:36 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP15 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cc375f70dce9 | ||||
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 | AugustoMauch | |||||||
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 | 0020499: Error when filtering in "Transaction" selector on Match Statement popup | |||||||
Description | Filtering functionality in "Transaction" selector on Match Statement popup it's working fine. But every time the selector is doing a filtering request (i.e. the user enters a new string in Description field) in the backend an error is registered. The selector it's trying to resolve a "Command" property for FIN_Finacc_Transaction entity, but this property does not exist. Failing also on MP10.2. *************** Client Request *************** _selectorDefinitionId:6643B422022B41698FEFD6C7FAD7AC4B ... _constructor:AdvancedCriteria criteria:{"operator":"iContains","fieldName":"Command","value":""} *************** org.openbravo.userinterface.selector.SelectorDataSourceFilter *************** // A property in the entity is searched for this fieldName // If the property is numeric or date, then it is filtered String[] fieldNameSplit = fieldName.split("\\."); Property fProp = null; if (fieldNameSplit.length == 1) { fProp = entity.getProperty(fieldName); } else { *************** Error *************** 2561261 [TP-Processor6] ERROR org.openbravo.base.util.CheckException - Property Command does not exist for entity FIN_Finacc_Transaction org.openbravo.base.util.CheckException: Property Command does not exist for entity FIN_Finacc_Transaction at org.openbravo.base.util.Check.isNotNull(Check.java:72) at org.openbravo.base.model.Entity.getProperty(Entity.java:452) at org.openbravo.userinterface.selector.SelectorDataSourceFilter.verifyPropertyTypes(SelectorDataSourceFilter.java:161) at org.openbravo.userinterface.selector.SelectorDataSourceFilter.doFilter(SelectorDataSourceFilter.java:98) at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:190) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:575) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | |||||||
Steps To Reproduce | 1) Go to "Financial Account" 2) Select record "Bank - Account 2" 3) In form mode do this change: Matching Algorithm -> Standard 4) Now go to its child tab "Imported Bank Statement" 5) Create new one and fill Name: "test" 6) Now go to its child tab "Bank Statement Lines" 7) Create new one and fill Reference No: Line1 Amout IN: 10 8) Create new one and fill Reference No: Line2 Amout IN: 20 9) Click button "Process" 10) Click on "Add Transaction" button 11) Select "Fee" Transaction Type combo 12) Enter 5 on received in field 13) Click on OK button 14) Click button "Match Statement" 15) Click the magnifier glass icon. 16) Filter Description column: type "Fee" 17) You will get an error in the backend The grid opens, enter a date in the first column, when you tab out the date is changed to the current date. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0051414) hgbot (developer) 2012-08-21 08:41 |
Repository: erp/devel/pi Changeset: cc375f70dce943e8a08c0b92c8caf7cf40941878 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Aug 21 08:40:26 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/cc375f70dce943e8a08c0b92c8caf7cf40941878 [^] Fixed issue 20499: In classicWindow,validate properties to get when filtering --- M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDataSourceFilter.java --- |
(0051444) AugustoMauch (administrator) 2012-08-22 09:36 |
Code reviewed and verified in pi@fb014b417c71 |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-14 18:47 | mirurita | New Issue | |
2012-05-14 18:47 | mirurita | Assigned To | => alostale |
2012-05-14 18:47 | mirurita | Modules | => Core |
2012-05-14 18:47 | mirurita | OBNetwork customer | => No |
2012-08-14 11:06 | AugustoMauch | Assigned To | alostale => AugustoMauch |
2012-08-20 08:32 | AugustoMauch | Assigned To | AugustoMauch => migueldejuana |
2012-08-21 08:41 | hgbot | Checkin | |
2012-08-21 08:41 | hgbot | Note Added: 0051414 | |
2012-08-21 08:41 | hgbot | Status | new => resolved |
2012-08-21 08:41 | hgbot | Resolution | open => fixed |
2012-08-21 08:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cc375f70dce943e8a08c0b92c8caf7cf40941878 [^] |
2012-08-22 09:36 | AugustoMauch | Closed by | => AugustoMauch |
2012-08-22 09:36 | AugustoMauch | Note Added: 0051444 | |
2012-08-22 09:36 | AugustoMauch | Status | resolved => closed |
2012-08-22 09:36 | AugustoMauch | Fixed in Version | => 3.0MP15 |
Copyright © 2000 - 2009 MantisBT Group |