Brendiem / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
0 stars 1 forks source link

Edit an Existing Taxon page taking a long time to initialise #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to: 
http://rls-uat.ala.org.au/bdrs-core/bdrs/admin/taxonomy/edit.htm?pk=778 

What is the expected output? What do you see instead?
Looking at the network console, after the jsp loads there is a jquery initiated 
call back to the server with takes a long time to complete (10s) and can crash 
the browser.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by chris.go...@gmail.com on 9 May 2012 at 2:08

GoogleCodeExporter commented 9 years ago
oops, that was me misinterpreting the network console output.  That long call 
was actually just waiting for our good friend ketchup to go nuts on 
initialisation.

I can reproduce locally with a taxon with about 30-40 species profile entries.  
There appears to be a tipping point with ketchup after which it goes a bit nuts.

Original comment by chris.go...@gmail.com on 9 May 2012 at 5:30

GoogleCodeExporter commented 9 years ago
Approach:
A brief investigation has revealed that the lastest version of ketchup (0.3.2) 
is largely compatible with the previous version and does not have this 
performance issue.

The plan is to introduce a conditional include into foundation.jsp based on a 
tiles attribute which can be used to progressively update ketchup without 
requiring changing and testing every page.

The first pages to be updated will be the ones that have problems, which are 
the Edit Taxon, Single Site (All|Multi) Species and Edit Survey Form pages.

Original comment by chris.go...@gmail.com on 29 May 2012 at 1:37