Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0033704 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | have not tried | 2016-08-12 17:07 | 2016-08-24 15:35 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | shuehner | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 4289cc0c5136 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| 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 | 0033704: Accidental double query in 'selector dropdown' of new style selectors | |||||||
| Description | The SelectorDataSourceFilter class does call .count() + then .list() on a OBCriteria running the sql query twice once with count(*) + then again to list the fields | |||||||
| Steps To Reproduce | 1.) Sales Order window 2.) new in form view 3.) open selector 'dropdown' of business partner selector 4.) review queries done in step 3 | |||||||
| Proposed Solution | - | |||||||
| Tags | Performance | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Notes |
|
|
(0089302) hgbot (developer) 2016-08-23 14:32 |
Repository: erp/devel/pi Changeset: 4289cc0c51368d9fc41140ccb650f6130cdefc84 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Fri Aug 12 17:08:13 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/4289cc0c51368d9fc41140ccb650f6130cdefc84 [^] Fixed 33704. Remove double query by saving .list() result instead of calling .count() and then .list() which does 2 selects for the same. --- M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDataSourceFilter.java --- |
|
(0089351) caristu (viewer) 2016-08-24 15:35 |
Code review + testing OK: when opening the drop-down selector now one query is used to retrieve the selector fields when applying the default expressions. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2016-08-12 17:07 | shuehner | New Issue | |
| 2016-08-12 17:07 | shuehner | Assigned To | => shuehner |
| 2016-08-12 17:07 | shuehner | OBNetwork customer | => No |
| 2016-08-12 17:07 | shuehner | Modules | => Core |
| 2016-08-12 17:07 | shuehner | Triggers an Emergency Pack | => No |
| 2016-08-12 17:36 | shuehner | Relationship added | related to 0033706 |
| 2016-08-12 18:09 | shuehner | Tag Attached: Performance | |
| 2016-08-23 14:32 | hgbot | Checkin | |
| 2016-08-23 14:32 | hgbot | Note Added: 0089302 | |
| 2016-08-23 14:32 | hgbot | Status | new => resolved |
| 2016-08-23 14:32 | hgbot | Resolution | open => fixed |
| 2016-08-23 14:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4289cc0c51368d9fc41140ccb650f6130cdefc84 [^] |
| 2016-08-23 14:34 | shuehner | Review Assigned To | => caristu |
| 2016-08-23 14:44 | shuehner | Relationship added | related to 0033767 |
| 2016-08-23 17:20 | shuehner | Relationship added | related to 0033772 |
| 2016-08-24 15:35 | caristu | Note Added: 0089351 | |
| 2016-08-24 15:35 | caristu | Status | resolved => closed |
| 2016-08-24 15:35 | caristu | Fixed in Version | => 3.0PR16Q4 |
| 2017-09-19 18:49 | markmm82 | Relationship added | related to 0036898 |
| Copyright © 2000 - 2009 MantisBT Group |