Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033677
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminorhave not tried2016-08-10 11:162017-07-28 11:20
ReportershuehnerView Statuspublic 
Assigned Toplatform 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033677: 'Refresh' of widgets in workspace takes very long with user having access to many organizations

DescriptionIn 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 ReproduceCheck runtime of that request
Trace sqls done during this request.
TagsPerformance
Attached Filesdiff file icon 33677_partial.diff [^] (4,564 bytes) 2016-08-10 11:17 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0035980 closedcaristu Improve the time spent to load the widgets after log-in 

-  Notes
(0088938)
shuehner (administrator)
2016-08-10 11:18

Partial patch only for a start, not fixing the whole issue.
(0098259)
alostale (manager)
2017-07-28 11:20

fixed by 0035980

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker