Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043098 | Openbravo ERP | A. Platform | public | 2020-02-03 12:18 | 2020-02-28 09:05 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q2 | |
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 | 0043098: Speed-up delete client (and related junit test) by only loading tables (and not full dbsm model) |
Description | SystemService.deleteClient needs to disable foreign keys, triggers and some constraints before the client deletion itself.
It currently used getModelFromDatabase(platform, true) to load the whole database model (including functions, triggers, views) & running pl standardization.
As the code needed only needs the table related things it should use getTablesFromDatabase instead skipping the extra items.
That removes around 20-30s of runtime of the delete client (& junit) test. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 43098.diff (1,263) 2020-02-05 15:03 https://issues.openbravo.com/file_download.php?file_id=13973&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2020-02-03 12:18 | shuehner | New Issue | |
2020-02-03 12:18 | shuehner | Assigned To | => platform |
2020-02-03 12:18 | shuehner | OBNetwork customer | => No |
2020-02-03 12:18 | shuehner | Modules | => Core |
2020-02-03 12:18 | shuehner | Triggers an Emergency Pack | => No |
2020-02-03 12:20 | shuehner | Assigned To | platform => shuehner |
2020-02-05 15:03 | shuehner | File Added: 43098.diff | |
2020-02-28 09:04 | hgbot | Checkin | |
2020-02-28 09:04 | hgbot | Note Added: 0118195 | |
2020-02-28 09:04 | hgbot | Status | new => resolved |
2020-02-28 09:04 | hgbot | Resolution | open => fixed |
2020-02-28 09:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/46d6ad2346edc55b152504c8ae0a2929549dc106 [^] |
2020-02-28 09:05 | caristu | Review Assigned To | => caristu |
2020-02-28 09:05 | caristu | Status | resolved => closed |
2020-02-28 09:05 | caristu | Fixed in Version | => 3.0PR20Q2 |
2020-02-28 09:05 | caristu | Note Added: 0118196 | |