aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-07-23 16:12:49 +0300
committerLeif Åstrand <leif@vaadin.com>2013-07-23 16:12:49 +0300
commita53d4876f2e1b0edf34444e118c79b881f5549f9 (patch)
tree8e253448a1dd7fdbb37acc7d7ee4340d6497536f /client
parent62c63a6a6dcf97c5a8f7b02e0115fdab096226db (diff)
downloadvaadin-framework-a53d4876f2e1b0edf34444e118c79b881f5549f9.tar.gz
vaadin-framework-a53d4876f2e1b0edf34444e118c79b881f5549f9.zip
Verify the connector hierarchy if assertions are enabled (#12271)
Change-Id: I87632abe9d86927b7ba4254724fedfdb04513205
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java
index 236417f23b..0b64f56c3e 100644
--- a/client/src/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/com/vaadin/client/ApplicationConnection.java
@@ -2000,12 +2000,15 @@ public class ApplicationConnection {
.getConnector(childConnectorId);
if (childConnector == null) {
VConsole.error("Hierarchy claims that "
- + childConnectorId + " is a child for "
- + connectorId + " ("
+ + childConnectorId
+ + " is a child for "
+ + connectorId
+ + " ("
+ parentConnector.getClass().getName()
+ ") but no connector with id "
+ childConnectorId
- + " has been registered");
+ + " has been registered. "
+ + "More information might be available in the server-side log if assertions are enabled");
continue;
}
newChildren.add(childConnector);