Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0024750 | Openbravo ERP | A. Platform | public | 2013-09-12 11:04 | 2013-09-17 19:03 |
Reporter | alostale | ||||
Assigned To | alostale | ||||
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0MP28 | Fixed in Version | 3.0MP28 | ||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | Pre packaging ( pi ) | ||||
Regression date | 2013-09-11 | ||||
Regression introduced in release | |||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/290c9b12a211 [^] | ||||
Triggers an Emergency Pack | No | ||||
Summary | 0024750: characteristics filter fails in Product window with adaptive filtering | ||||
Description | After pushing adaptive filtering capability (https://code.openbravo.com/erp/devel/pi/rev/290c9b12a211 [^]), Product Characteristics filter is not working in Product window. The problem occurs when the number of products is <= 100, in this case when the Product window is opened, the whole set of data is retrieved in a single page without any criteria. When SmartClient determines if a criteria is more restrictive to decide if adaptive filtering can be applied, checks data was retrieved without any criteria so as a new one has been added it is always more restrictive without need of checking it for the operator. In client filtering cannot be used for characteristics because there is no enough information at client side, so whenever this filter changes, a request to backend is required. | ||||
Steps To Reproduce | Having less than 100 products in database: - Open Product window - Filter by product characteristics * No filter is applied * A javascript error is thrown: Uncaught TypeError: Object #<Object> has no method 'condition' DataSource.js:19568 isc.DataSource.addMethods.evaluateCriterion DataSource.js:19568 isc.Class.addClassMethods.invokeSuper Class.js:1099 isc.Class.addClassMethods.Super Class.js:944 isc.OBRestDataSource.addProperties.evaluateCriterion 9c70f4b1eb82d9921b4dd68073402d5e.js:3944 booleanOperator | ||||
Proposed Solution | Whenever filter for characteristics is changed, force backed request by removing cached localData | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-09-12 11:04 | alostale | New Issue | |||
2013-09-12 11:04 | alostale | Assigned To | => alostale | ||
2013-09-12 11:04 | alostale | Modules | => Core | ||
2013-09-12 11:04 | alostale | OBNetwork customer | => No | ||
2013-09-12 11:04 | alostale | Triggers an Emergency Pack | => No | ||
2013-09-12 11:04 | alostale | Regression level | => Pre packaging ( pi ) | ||
2013-09-12 11:04 | alostale | Regression date | => 2013-09-11 | ||
2013-09-12 11:04 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/290c9b12a211 [^] | ||
2013-09-12 11:05 | alostale | Review Assigned To | => AugustoMauch | ||
2013-09-12 11:09 | hgbot | Checkin | |||
2013-09-12 11:09 | hgbot | Note Added: 0061089 | |||
2013-09-12 11:09 | hgbot | Status | new => resolved | ||
2013-09-12 11:09 | hgbot | Resolution | open => fixed | ||
2013-09-12 11:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c4ab8576a7eed9e9616b4a9c0568fcf91719a3a6 [^] | ||
2013-09-12 18:20 | AugustoMauch | Note Added: 0061115 | |||
2013-09-12 18:20 | AugustoMauch | Status | resolved => closed | ||
2013-09-12 18:20 | AugustoMauch | Fixed in Version | => 3.0MP28 | ||
2013-09-17 19:03 | hudsonbot | Checkin | |||
2013-09-17 19:03 | hudsonbot | Note Added: 0061241 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|