Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036167 | Openbravo ERP | A. Platform | public | 2017-06-02 10:25 | 2017-09-21 16:49 |
Reporter | dmiguelez | ||||
Assigned To | alostale | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR17Q4 | |||
Merge Request Status | |||||
Review Assigned To | caristu | ||||
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 | 0036167: Tree view of Tab is not correctly filtered if tab has where clause | ||||
Description | If we enable the Tree view of a Tab with hundreds of records, it should work without any additional configuration (A preference can be created to modify this limit, but we should not need to enable it, we are working with less than 1000 records) However, it is not working properly, the message:"This query criteria returns a number of nodes larger than the established limit. Please enter a more restrictive filter." is shown It seems that the query is not being filtered properly. In the Tab, there is a where clause with an expression containing an OR (something like x OR y). It seems that this may be one of the problems, since when building the query for the Tree, it is not isolating this expression between parenthesis, and the final expression looks like x OR y AND z, which does not match the original intent of the filter (x OR y) AND z | ||||
Steps To Reproduce | 1. Apply the given patch (Configures a Tree view in Storage Bins Tab and allows to create 500 additional Bins) 2. Launch InventoryStatusTest.java class to create 500 additional Bins (This can be launched as any other JUnit test) 3. Login as QA Admin 4. Move to Warehouse and Storage Bins || Storage Bin Tab 5. Select any record and click on the Toggle Tree view button 6. The error message is shown | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10820&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=10821&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-06-02 10:25 | dmiguelez | New Issue | |||
2017-06-02 10:25 | dmiguelez | Assigned To | => platform | ||
2017-06-02 10:25 | dmiguelez | File Added: issue.diff | |||
2017-06-02 10:25 | dmiguelez | OBNetwork customer | => No | ||
2017-06-02 10:25 | dmiguelez | Modules | => Core | ||
2017-06-02 10:25 | dmiguelez | Triggers an Emergency Pack | => No | ||
2017-06-02 10:25 | dmiguelez | File Added: proposal.diff | |||
2017-06-02 10:27 | dmiguelez | Note Added: 0097096 | |||
2017-06-02 12:29 | dmiguelez | Description Updated | bug_revision_view_page.php?rev_id=15282#r15282 | ||
2017-07-14 13:28 | alostale | Summary | Tree view of Tab is not working with hundreds of records (the limit is supposed to be 1000 by default) => Tree view of Tab is not correctly filtered if tab has where clause | ||
2017-07-14 13:33 | alostale | Status | new => scheduled | ||
2017-07-14 13:33 | alostale | Assigned To | platform => alostale | ||
2017-07-14 13:33 | alostale | Review Assigned To | => caristu | ||
2017-07-17 08:19 | hgbot | Checkin | |||
2017-07-17 08:19 | hgbot | Note Added: 0098088 | |||
2017-07-17 08:19 | hgbot | Status | scheduled => resolved | ||
2017-07-17 08:19 | hgbot | Resolution | open => fixed | ||
2017-07-17 08:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/485d1a99a09df2e7501b785cd60bff6ea8fe06c4 [^] | ||
2017-07-19 12:56 | caristu | Note Added: 0098133 | |||
2017-07-19 12:56 | caristu | Status | resolved => closed | ||
2017-07-19 12:56 | caristu | Fixed in Version | => 3.0PR17Q4 | ||
2017-09-21 16:49 | hudsonbot | Checkin | |||
2017-09-21 16:49 | hudsonbot | Note Added: 0099274 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|