Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0033677 | Openbravo ERP | B. User interface | public | 2016-08-10 11:16 | 2017-07-28 11:20 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | platform | |||||||||||
| Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | out of date | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| 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 | 0033677: 'Refresh' of widgets in workspace takes very long with user having access to many organizations | |||||||||||
| Description | In an environment with 524 organization and a user having access to them (i.e. Openbravo user) the request behind 'Refresh' of widgets of workspace (also done during login) takes very long (4-5seconds) Also it is doing a very high number of sql-queries as it seems to loop over all those organizations and doing at least 1.) ad org lookup 2.) widget instance search for the 'copyWidgets' function. Note: getProxy is not full fix as some code in MyOBUtils.getDefaultWidgetInstances reads client from the org object. widgetInstancesCrit.add(Restrictions.eq(WidgetInstance.PROPERTY_CLIENT, organization.getClient())); | |||||||||||
| Steps To Reproduce | Check runtime of that request Trace sqls done during this request. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | Performance | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=9705&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2016-08-10 11:16 | shuehner | New Issue | ||||||||||
| 2016-08-10 11:16 | shuehner | Assigned To | => platform | |||||||||
| 2016-08-10 11:16 | shuehner | OBNetwork customer | => No | |||||||||
| 2016-08-10 11:16 | shuehner | Modules | => Core | |||||||||
| 2016-08-10 11:16 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2016-08-10 11:16 | shuehner | Tag Attached: Performance | ||||||||||
| 2016-08-10 11:17 | shuehner | File Added: 33677_partial.diff | ||||||||||
| 2016-08-10 11:18 | shuehner | Note Added: 0088938 | ||||||||||
| 2016-12-01 13:06 | alostale | Status | new => acknowledged | |||||||||
| 2016-12-01 14:03 | alostale | Priority | normal => high | |||||||||
| 2017-07-28 11:20 | alostale | Status | acknowledged => scheduled | |||||||||
| 2017-07-28 11:20 | alostale | Note Added: 0098259 | ||||||||||
| 2017-07-28 11:20 | alostale | Status | scheduled => closed | |||||||||
| 2017-07-28 11:20 | alostale | Resolution | open => out of date | |||||||||
| 2017-07-28 11:20 | alostale | Relationship added | duplicate of 0035980 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||