Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0037411 | Openbravo ERP | A. Platform | public | 2017-11-28 16:34 | 2018-01-03 12:39 |
|
| Reporter | shuehner | |
| Assigned To | alostale | |
| Priority | normal | Severity | trivial | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | 3.0PR18Q1 | |
| 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 | 0037411: TreeTablesEventHandler.getDataSource does useless ad_table read |
| Description | private DataSourceService getDataSource(String tableId) {
Table table = OBDal.getInstance().get(Table.class, tableId);
OBCriteria<TableTree> obq = OBDal.getInstance().createCriteria(TableTree.class);
obq.add(Restrictions.eq(TableTree.PROPERTY_TABLE, table));
That code is uselessly reading from ad_table and should use a getProxy instead.
|
| Steps To Reproduce | - |
| Proposed Solution | |
| Additional Information | |
| Tags | Performance |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2017-11-28 16:34 | shuehner | New Issue | |
| 2017-11-28 16:34 | shuehner | Assigned To | => platform |
| 2017-11-28 16:34 | shuehner | OBNetwork customer | => No |
| 2017-11-28 16:34 | shuehner | Modules | => Core |
| 2017-11-28 16:34 | shuehner | Triggers an Emergency Pack | => No |
| 2017-11-28 16:34 | shuehner | Tag Attached: Performance | |
| 2017-11-29 12:16 | alostale | Assigned To | platform => alostale |
| 2017-11-29 12:16 | hgbot | Checkin | |
| 2017-11-29 12:16 | hgbot | Note Added: 0100810 | |
| 2017-11-29 12:16 | hgbot | Status | new => resolved |
| 2017-11-29 12:16 | hgbot | Resolution | open => fixed |
| 2017-11-29 12:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/94f270f9358c66b98a1b103ba4789d1212d4a6d5 [^] |
| 2017-11-29 12:16 | alostale | Review Assigned To | => caristu |
| 2017-12-15 09:11 | caristu | Note Added: 0101051 | |
| 2017-12-15 09:11 | caristu | Status | resolved => closed |
| 2017-12-15 09:11 | caristu | Fixed in Version | => 3.0PR18Q1 |
| 2018-01-03 12:39 | hudsonbot | Checkin | |
| 2018-01-03 12:39 | hudsonbot | Note Added: 0101496 | |