alump / LazyLayouts

Vaadin layouts for your lazy loading needs
Apache License 2.0
4 stars 3 forks source link

Connector warnings in log #4

Closed mikrobestie closed 9 years ago

mikrobestie commented 9 years ago

Hello,

i tried your addon and in most cases, it works good! But after some time, I receive warnings in log like:

2015-03-12 15:35:09.914[WARN ][xec-6][in.server.communication.ServerRpcHandler 382]-RPC call to org.vaadin.alump.lazylayouts.client.LazyLayoutServerRpc.onLazyLoadRequest received for connector 1626 but no such connector could be found. Resynchronizing client.

also:

2015-03-12 15:41:44.909[WARN ][xec-4][in.server.communication.ServerRpcHandler 269]-Ignoring RPC call for disabled connector org.vaadin.alump.lazylayouts.LazyVerticalLayout

I'm using latest version (0.1.1). Is it abug or am I doing something wrong? Thanks!

alump commented 9 years ago

What Vaadin version you use? What is your component hierarchy (above LazyLayouts, it's parent, grand parent...)? Do you set LazyLayout (or it's parents) visibility to false? Have you removed it from it's parent to another component?

mikrobestie commented 9 years ago

I use LazyVerticalLayout inside TabSheet. I tried it now and it happens when I switch tabs. The full hierarchy is kinda difficult:

-UIConnector (44) -HorizontalLayoutConnector (46) +CssLayoutConnector (47) -HorizontalLayoutConnector (67) -TabsheetConnector (480) -VerticalLayoutConnector (481) -PanelConnector (482) +LazyVerticalLayoutConnector (483)

I use Vaadin version 7.4.1

alump commented 9 years ago

I assume issue could be caused by TabsSheet. I have to write some tests. (When switching between tabs of TabSheet, strange things can happen).

alump commented 9 years ago

Yes, LazyVerticalLayout misbehaves inside TabSheet, fixing...

alump commented 9 years ago

Warning were nothing fatal, but fixed in 0.1.3