cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CSC infinite loading of items after initial load

former_member677853
Discoverer
0 Kudos
257

Hi all,

I've come across the below issue:

  1. I'm entering backoffice with CSC employee
  2. Customer Support cockpit is loading
  3. Auto-selection of the first explorer tree node is executed (e.g. Tickets)
  4. list of items is starting to load showing % progress bar
  5. % are changing up but never reach 100% (or reach it very late) and backoffice never finishes update of the items list (it's empty r not visible behind covering percentage counter)

From here I have to refresh the page to have it working correctly.

The issue appears randomly, happens often after logging in using an incognito window.

I can "call" the issue when I debug in JAVA on org.zkoss.zk.ui.impl.HybrisUiEngineImpl#execUpdate for few seconds for one of the requests containing multiple onTimer commands in the submitted data, so my guess is that from time to time in the above scenario response is generated so long that the issue happens.

On browser-side when it happens I can see AJAX calls to /zkau with multiple onTimer commands every 1-2 seconds while for normal behavior such requests are generated every 10 seconds and contain only one onTimer command in the request (btw this onTimer command are paired with UUIDs that looks like backoffice HTML IDs but I cannot find them in the HTML source).

I'm thinking that for cases when there are a lot of initial records in an initial list in CSC such an issue can happen so I hope that someone of you came across it and maybe figure out some fix or workaround.

UPDATE: I've just noticed, that when the issue appears and I click another tree node the data are updating in the background and appearing but % counter is still covering them and trying to count to 100%. When I delete this % counter with covering layer (using Elements viewer in Chrome) I can click items and everything works. So the main issue is with this load % counter that covers everything. It stuck somehow and cannot properly get some FINISHED info from the server.

Thanks!
Łukasz

Accepted Solutions (0)

Answers (0)